]> code.ossystems Code Review - openembedded-core.git/commit
grub-efi: change to generate EFI image in target package
authorJackie Huang <jackie.huang@windriver.com>
Mon, 18 Nov 2013 12:29:07 +0000 (20:29 +0800)
committerSaul Wold <sgw@linux.intel.com>
Sat, 14 Dec 2013 07:08:02 +0000 (23:08 -0800)
commit53d3f1273983dfce2a907b39768978afe99aab1a
tree94280c154347b8b3e6cac64642ef55408873e9de
parenta9e072f9f0da774411e07abf47dd4bd8c6d685d7
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.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/grub-efi.bbclass
meta/recipes-bsp/grub/grub-efi_2.00.bb [moved from meta/recipes-bsp/grub/grub-efi-native_2.00.bb with 77% similarity]