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 authored and Joshua Lock committed 2010-05-24 10:34:40 +01:00
1 parent 5bec733fb1
commit ae9174ef53
1 file changed
+6
+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() {