From: Andrea Adami Date: Wed, 25 Jan 2017 23:56:08 +0000 (+0100) Subject: kernel.bbclass: Make symbol to vmlinuz.bin in boot directory X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22559 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=413a5faf99280f4e083358e4134aebbcfa47bb4c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel.bbclass: Make symbol to vmlinuz.bin in boot directory 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 Signed-off-by: Ross Burton --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index f462b2ff414..97cba9255f6 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -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() {