summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-03 15:41:15 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-04 11:43:12 +0100
commitb83179c87e2e3965a635aa65dec9f95cc8c08430 (patch)
tree0f1bbe53817f8ef37648870e3abe3ada8cf177aa /meta/classes/kernel.bbclass
parentf6ae8a4b3e4470dad62941e4902205b76c7e0bc1 (diff)
downloadopenembedded-core-b83179c87e2e3965a635aa65dec9f95cc8c08430.tar.gz
openembedded-core-b83179c87e2e3965a635aa65dec9f95cc8c08430.tar.bz2
openembedded-core-b83179c87e2e3965a635aa65dec9f95cc8c08430.tar.xz
openembedded-core-b83179c87e2e3965a635aa65dec9f95cc8c08430.zip
kernel.bbclass: Simplify shell syntax so pysh can cope with it
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 673cfad23..25bb44859 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -168,13 +168,13 @@ kernel_do_install() {
# Remove the following binaries which cause strip errors
# during do_package for cross-compiled platforms
- 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
+ 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
}