1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

kernel.bbclass: Simplify shell syntax so pysh can cope with it

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-08-03 15:41:15 +01:00
parent f6ae8a4b3e
commit b83179c87e
+7 -7
View File
@@ -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
}