[oe-commits] He Zhe : kernel: Correct mishandling of linux.bin for building uImage

git at git.openembedded.org git at git.openembedded.org
Fri Aug 14 07:31:21 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e

Author: He Zhe <zhe.he at windriver.com>
Date:   Tue Aug 11 16:22:23 2015 +0800

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.

Signed-off-by: He Zhe <zhe.he at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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



More information about the Openembedded-commits mailing list