From ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e Mon Sep 17 00:00:00 2001 From: He Zhe Date: Tue, 11 Aug 2015 16:22:23 +0800 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/kernel-uboot.bbclass | 1 - 1 file changed, 1 deletion(-) (limited to 'meta/classes/kernel-uboot.bbclass') diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 8ab30b8649..345e7f5f3b 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 -- cgit 1.2.3-korg