[OE-core] [PATCH 1/1] kernel: Correct mishandling of linux.bin for building uImage

zhe.he at windriver.com zhe.he at windriver.com
Tue Aug 11 08:22:23 UTC 2015


From: He Zhe <zhe.he at windriver.com>

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

Signed-off-by: He Zhe <zhe.he at windriver.com>
---
 meta/classes/kernel-uboot.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 8ab30b8..345e7f5 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -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
-- 
1.9.1




More information about the Openembedded-core mailing list