summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2013-11-18 20:29:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-14 09:11:11 +0000
commit40b73e46605a3b4914983301195605162927dcb7 (patch)
tree9cba6530357d4c3d3af6fc47ab2e526965c98ef5 /meta/classes
parent8275e0f7252888a25f5aaf22e8851d2ffa18ea85 (diff)
downloadpoky-40b73e46605a3b4914983301195605162927dcb7.tar.gz
grub-efi: change to generate EFI image in target package
To generate the target EFI image in a native package, it requires the host gcc have the ability to do -m32/-m64 compiling, but gcc doesn't have that support on the 32bit version of some distributions (e.g. rehl, suse), it would fail when build a 64bit target on these 32bit hosts. In fact, all we need from grub-efi-native is the grub-mkimage binary, so change the solution to: * grub-efi-native only install grub-mkimage * grub-efi compiles target modules, generates EFI image with grub-mkimage and deploy, but install nothing. (From OE-Core rev: 53d3f1273983dfce2a907b39768978afe99aab1a) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/grub-efi.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 2f00901d04..71bd00fe99 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -15,8 +15,8 @@
15# ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional) 15# ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional)
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:do_deploy"
19do_bootdirectdisk[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" 19do_bootdirectdisk[depends] += "grub-efi:do_deploy"
20 20
21GRUB_SERIAL ?= "console=ttyS0,115200" 21GRUB_SERIAL ?= "console=ttyS0,115200"
22GRUBCFG = "${S}/grub.cfg" 22GRUBCFG = "${S}/grub.cfg"