summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorScott Garman <sgarman@zenlinux.com>2010-05-23 20:55:04 -0700
committerJoshua Lock <josh@linux.intel.com>2010-05-24 10:34:40 +0100
commitae9174ef539264e9321826277a57d902147b4fd9 (patch)
treeb5ca2061ce4a8ee65364148c19477caee64e3f26 /meta
parent5bec733fb1542f300e039e60ffb97e346e97ed35 (diff)
downloadpoky-ae9174ef539264e9321826277a57d902147b4fd9.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass6
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
194sysroot_stage_all_append() { 200sysroot_stage_all_append() {