summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2017-01-25 23:56:08 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 17:29:56 (GMT)
commit0fce3ec656199e58d9a95fdc06e745c93c6386f6 (patch)
tree45c414cbfa9d79edf8ff6b189abd55bf2806bf85
parentd887c24d5af0f570a259985fa99af5c56158fcfa (diff)
downloadpoky-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.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f462b2f..97cba92 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
533do_strip() { 536do_strip() {