xiaomi-fire: new device (MR 4827)
Working: USB OTG, display, external/internal storage
This commit is contained in:
parent
fe54a7be49
commit
65ae048ae5
8 changed files with 5774 additions and 0 deletions
29
device/testing/linux-xiaomi-fire/fix_kernel_genheaders.patch
Normal file
29
device/testing/linux-xiaomi-fire/fix_kernel_genheaders.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
--- 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue