pmaports/device/archived/linux-xiaomi-fire/fix_kernel_genheaders.patch
Aster Boese 55b0571bc9
xiaomi-fire: move to archived
The git repo of the firmware files was deleted and there doesn't seem
to be a backup anywhere.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8025>
2026-03-22 14:38:56 +01:00

29 lines
655 B
Diff

--- a/kernel/gen_kheaders.sh
+++ b/kernel/gen_kheaders.sh
@@ -8,7 +8,6 @@
outdir="$(pwd)"
tarfile=$1
cpio_dir=$outdir/$tarfile.tmp
-cpio=$KBUILD_SRC/tools/build/cpio
dir_list="
include/
@@ -59,7 +58,7 @@
pushd $srctree > /dev/null
for f in $dir_list;
do find "$f" -name "*.h";
-done | $cpio --quiet -pd $cpio_dir
+done | cpio --quiet -pd $cpio_dir
popd > /dev/null
@@ -67,7 +66,7 @@
# happen with out of tree builds. Just silence CPIO for now.
for f in $dir_list;
do find "$f" -name "*.h";
-done | $cpio --quiet -pd $cpio_dir >/dev/null 2>&1
+done | cpio --quiet -pd $cpio_dir >/dev/null 2>&1
# Remove comments except SDPX lines