summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:30:33 +0100
commitfd3dd25e0c0deb60b4a8172e19f890303b1ed536 (patch)
tree622050fd0226ea282deaf99a7f63725e229ce4ce /meta/classes
parent522af4f346195fd097c2a82568e3f6a7703a4026 (diff)
downloadpoky-fd3dd25e0c0deb60b4a8172e19f890303b1ed536.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. (From OE-Core rev: ed5c6a0c80bac092e98f4d68dbc9cad77701bc7e) 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>
Diffstat (limited to 'meta/classes')
-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() {
12 ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin 12 ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
13 13
14 if [ "${linux_comp}" != "none" ] ; then 14 if [ "${linux_comp}" != "none" ] ; then
15 rm -f linux.bin
16 gzip -9 linux.bin 15 gzip -9 linux.bin
17 mv -f "linux.bin${linux_suffix}" linux.bin 16 mv -f "linux.bin${linux_suffix}" linux.bin
18 fi 17 fi