]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'
authorMihai Lindner <mihaix.lindner@linux.intel.com>
Fri, 24 Aug 2012 18:06:12 +0000 (21:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Aug 2012 13:44:00 +0000 (14:44 +0100)
"ERROR: Nothing PROVIDES 'grub-efi-x86_64-native'" is returned when
trying to build meta-intel/meta-cedartrail with DEFAULTTUNE = "core2-64"
Used TRANSLATED_TARGET_ARCH instead of TARGET_ARCH in grub-efi.bbclass

[YOCTO #3013]

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
meta/classes/grub-efi.bbclass

index a0936284552f8d81d2dc71be4f3641308744856b..c6f5d4e246fca4fa49c56720257a84f4cdf9b713 100644 (file)
@@ -14,7 +14,7 @@
 # ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional)
 # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional)
 
-do_bootimg[depends] += "grub-efi-${TARGET_ARCH}-native:do_deploy"
+do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy"
 
 GRUBCFG = "${S}/grub.cfg"
 GRUB_TIMEOUT ?= "10"