summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2010-06-22 21:00:43 -0700
committerJoshua Lock <josh@linux.intel.com>2010-06-23 18:43:45 +0100
commit698dab01098816e4894beb4b3dad556f045c074d (patch)
tree35eba81660c231a9f40c5956694e0d19a4d9e6aa /meta/classes
parentc9e77c18aa0c7962e00559d4122d840f90a62e79 (diff)
downloadopenembedded-core-698dab01098816e4894beb4b3dad556f045c074d.tar.gz
openembedded-core-698dab01098816e4894beb4b3dad556f045c074d.tar.bz2
openembedded-core-698dab01098816e4894beb4b3dad556f045c074d.zip
kernel.bbclass: Remove additional binaries from staging
* Remove additonal binaries known to cause "strip command failed" errors during do_package on cross platforms. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index eae5c65d1d..85d1158bd3 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -166,9 +166,15 @@ kernel_do_install() {
# 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
+ bin_files=(arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff
+ arch/powerpc/boot/mktree scripts/bin2c scripts/conmakehash
+ scripts/ihex2fw scripts/kallsyms scripts/pnmtologo scripts/basic/docproc
+ scripts/basic/fixdep scripts/basic/hash scripts/dtc/dtc
+ scripts/genksyms/genksyms scripts/kconfig/conf scripts/mod/mk_elfconfig
+ scripts/mod/modpost)
+ for entry in "${bin_files[@]}"; do
+ rm -f $kerneldir/$entry
+ done
}
sysroot_stage_all_append() {