]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel: Correct mishandling of linux.bin for building uImage
authorHe Zhe <zhe.he@windriver.com>
Tue, 11 Aug 2015 08:22:23 +0000 (16:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Aug 2015 07:29:44 +0000 (08:29 +0100)
Building uImage fails when KEEPUIMAGE is not "yes".
Remove wrong removal of linux.bin before compressing it.

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>
meta/classes/kernel-uboot.bbclass

index 8ab30b86492c791126c2ebb6da7b1c186a23c9e3..345e7f5f3b4f881d6bddbb11fb056f3f97878be1 100644 (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