1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

kernel.bbclass: Stop staging binaries within scripts/

* Preserves scripts/ directory but excludes binaries known to cause
  "strip command failed" errors during do_package on cross platforms

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
This commit is contained in:
Scott Garman
2010-05-23 20:55:04 -07:00
committed by Joshua Lock
parent 5bec733fb1
commit ae9174ef53
+6
View File
@@ -189,6 +189,12 @@ kernel_do_install() {
[ -e Module.symvers ] && install -m 0644 Module.symvers $kerneldir/
cp -fR scripts $kerneldir/
# Remove the following binaries which cause strip errors
# during do_package for cross-compiled platforms
for entry in bin2c conmakehash ihex2fw kallsyms pnmtologo basic/docproc basic/fixdep basic/hash genksyms/genksyms kconfig/conf mod/mk_elfconfig mod/modpost; do
rm -f $kerneldir/scripts/$entry
done
}
sysroot_stage_all_append() {