mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02: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:
committed by
Joshua Lock
parent
5bec733fb1
commit
ae9174ef53
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user