aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2015-08-11 16:22:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-14 08:29:44 +0100
commited5c6a0c80bac092e98f4d68dbc9cad77701bc7e (patch)
tree329b85d73c2d43808ab4afe4c74fad16e405878c
parent2624386bc369916ea19ac0c50a2a5925e3e8f760 (diff)
downloadopenembedded-core-contrib-ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e.tar.gz
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@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel-uboot.bbclass1
1 files changed, 0 insertions, 1 deletions
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