From b83179c87e2e3965a635aa65dec9f95cc8c08430 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 3 Aug 2010 15:41:15 +0100 Subject: kernel.bbclass: Simplify shell syntax so pysh can cope with it Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 } -- cgit v1.2.3