summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJoao Henrique Ferreira de Freitas <joaohf@gmail.com>2013-10-30 08:37:42 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-12 17:00:09 +0000
commitd19f1a030e5e6dbc8b105a8525bef6d4611f5772 (patch)
treeb27d71ae106e30fce9f4d2f78f07c4b5f5ea3f2a /meta/classes
parent2e127d4775f55de34b19782be25c7ff933822263 (diff)
downloadpoky-d19f1a030e5e6dbc8b105a8525bef6d4611f5772.tar.gz
grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class
When boot-directdisk class is used and EFI boot is set the grub-efi-${TRANSLATED_TARGET_ARCH}-native need to be dependent. Allowing GRUB_IMAGE to be created and bootia32.efi got from the image directory. (From OE-Core master rev: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7) (From OE-Core rev: b14ba80d22f4892a4d9269dbf982b2f88109da98) Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/grub-efi.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 96fb98b043..3765bfd8a2 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -16,6 +16,7 @@
16# ${GRUB_TIMEOUT} - timeout before executing the deault label (optional) 16# ${GRUB_TIMEOUT} - timeout before executing the deault label (optional)
17 17
18do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" 18do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy"
19do_bootdirectdisk[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy"
19 20
20GRUB_SERIAL ?= "console=ttyS0,115200" 21GRUB_SERIAL ?= "console=ttyS0,115200"
21GRUBCFG = "${S}/grub.cfg" 22GRUBCFG = "${S}/grub.cfg"