diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 64c8a94d64..0de4dfbef0 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -189,6 +189,12 @@ kernel_do_install() { | |||
189 | [ -e Module.symvers ] && install -m 0644 Module.symvers $kerneldir/ | 189 | [ -e Module.symvers ] && install -m 0644 Module.symvers $kerneldir/ |
190 | 190 | ||
191 | cp -fR scripts $kerneldir/ | 191 | cp -fR scripts $kerneldir/ |
192 | |||
193 | # Remove the following binaries which cause strip errors | ||
194 | # during do_package for cross-compiled platforms | ||
195 | for entry in bin2c conmakehash ihex2fw kallsyms pnmtologo basic/docproc basic/fixdep basic/hash genksyms/genksyms kconfig/conf mod/mk_elfconfig mod/modpost; do | ||
196 | rm -f $kerneldir/scripts/$entry | ||
197 | done | ||
192 | } | 198 | } |
193 | 199 | ||
194 | sysroot_stage_all_append() { | 200 | sysroot_stage_all_append() { |