]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Make symbol to vmlinuz.bin in boot directory
authorAndrea Adami <andrea.adami@gmail.com>
Wed, 25 Jan 2017 23:56:08 +0000 (00:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:43 +0000 (09:29 -0800)
The changes committed with 6e58f54be103814b6b8a85b236510633c49e6832 did only
consider the vmlinuz ELF kernel but some devices do reqire a raw vmlinuz.bin
(as for example gcw0 in meta-handheld booted by ubiboot).
Expand the above mentioned patch to consider this case.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass

index f462b2ff41472008c4d21ac073dbb806c8112b5d..97cba9255f64960a20707624a211a660418539d3 100644 (file)
@@ -528,6 +528,9 @@ do_kernel_link_images() {
        if [ -f ../../../vmlinuz ]; then
                ln -sf ../../../vmlinuz
        fi
+       if [ -f ../../../vmlinuz.bin ]; then
+               ln -sf ../../../vmlinuz.bin
+       fi
 }
 
 do_strip() {