diff options
| author | Scott Garman <scott.a.garman@intel.com> | 2010-06-22 21:00:43 -0700 |
|---|---|---|
| committer | Joshua Lock <josh@linux.intel.com> | 2010-06-23 18:44:59 +0100 |
| commit | 0128976cb09fa59cb49b4d6370a09f0ad4118897 (patch) | |
| tree | 6e78a63d2ca09e21b017ce75ddaa8bc92db9bc59 | |
| parent | 5a4342cb2ecfc8a2f4a3868a5ba66c79fbe07d5e (diff) | |
| download | poky-0128976cb09fa59cb49b4d6370a09f0ad4118897.tar.gz | |
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>
| -rw-r--r-- | meta/classes/kernel.bbclass | 12 |
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() { | |||
| 166 | 166 | ||
| 167 | # Remove the following binaries which cause strip errors | 167 | # Remove the following binaries which cause strip errors |
| 168 | # during do_package for cross-compiled platforms | 168 | # during do_package for cross-compiled platforms |
| 169 | for entry in bin2c conmakehash ihex2fw kallsyms pnmtologo basic/docproc basic/fixdep basic/hash genksyms/genksyms kconfig/conf mod/mk_elfconfig mod/modpost; do | 169 | bin_files=(arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff |
| 170 | rm -f $kerneldir/scripts/$entry | 170 | arch/powerpc/boot/mktree scripts/bin2c scripts/conmakehash |
| 171 | done | 171 | scripts/ihex2fw scripts/kallsyms scripts/pnmtologo scripts/basic/docproc |
| 172 | scripts/basic/fixdep scripts/basic/hash scripts/dtc/dtc | ||
| 173 | scripts/genksyms/genksyms scripts/kconfig/conf scripts/mod/mk_elfconfig | ||
| 174 | scripts/mod/modpost) | ||
| 175 | for entry in "${bin_files[@]}"; do | ||
| 176 | rm -f $kerneldir/$entry | ||
| 177 | done | ||
| 172 | } | 178 | } |
| 173 | 179 | ||
| 174 | sysroot_stage_all_append() { | 180 | sysroot_stage_all_append() { |
