mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user