kernel: Correct mishandling of linux.bin for building uImage

Building uImage fails when KEEPUIMAGE is not "yes".
Remove wrong removal of linux.bin before compressing it.

(From OE-Core rev: ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
He Zhe 2015-08-11 16:22:23 +08:00 committed by Richard Purdie
parent 522af4f346
commit fd3dd25e0c
1 changed files with 0 additions and 1 deletions

View File

@ -12,7 +12,6 @@ uboot_prep_kimage() {
${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
if [ "${linux_comp}" != "none" ] ; then
rm -f linux.bin
gzip -9 linux.bin
mv -f "linux.bin${linux_suffix}" linux.bin
fi