diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2017-01-26 00:56:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:56 -0800 |
commit | 0fce3ec656199e58d9a95fdc06e745c93c6386f6 (patch) | |
tree | 45c414cbfa9d79edf8ff6b189abd55bf2806bf85 | |
parent | d887c24d5af0f570a259985fa99af5c56158fcfa (diff) | |
download | poky-0fce3ec656199e58d9a95fdc06e745c93c6386f6.tar.gz |
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.
(From OE-Core rev: 413a5faf99280f4e083358e4134aebbcfa47bb4c)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
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() { | |||
528 | if [ -f ../../../vmlinuz ]; then | 528 | if [ -f ../../../vmlinuz ]; then |
529 | ln -sf ../../../vmlinuz | 529 | ln -sf ../../../vmlinuz |
530 | fi | 530 | fi |
531 | if [ -f ../../../vmlinuz.bin ]; then | ||
532 | ln -sf ../../../vmlinuz.bin | ||
533 | fi | ||
531 | } | 534 | } |
532 | 535 | ||
533 | do_strip() { | 536 | do_strip() { |