aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2017-01-26 00:56:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:43 -0800
commit413a5faf99280f4e083358e4134aebbcfa47bb4c (patch)
treeeb94e6e19cbb288e30c35910379a9993d35c0021 /meta/classes
parent73bd11d5190a072064128cc13b4537154d07b129 (diff)
downloadopenembedded-core-contrib-413a5faf99280f4e083358e4134aebbcfa47bb4c.tar.gz
openembedded-core-contrib-413a5faf99280f4e083358e4134aebbcfa47bb4c.tar.bz2
openembedded-core-contrib-413a5faf99280f4e083358e4134aebbcfa47bb4c.zip
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 <andrea.adami@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f462b2ff41..97cba9255f 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() {