From: He Zhe Date: Tue, 11 Aug 2015 08:22:23 +0000 (+0800) Subject: kernel: Correct mishandling of linux.bin for building uImage X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 8ab30b86492..345e7f5f3b4 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