From: Richard Purdie Date: Tue, 3 Aug 2010 14:41:15 +0000 (+0100) Subject: kernel.bbclass: Simplify shell syntax so pysh can cope with it X-Git-Tag: 2011-1~5008 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b83179c87e2e3965a635aa65dec9f95cc8c08430;p=openembedded-core.git kernel.bbclass: Simplify shell syntax so pysh can cope with it Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 673cfad231..25bb44859b 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 }