aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi.bbclass
diff options
context:
space:
mode:
authorMihai Lindner <mihaix.lindner@linux.intel.com>2012-08-24 21:06:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 14:44:00 +0100
commit20e2aaacb36113604c4ea7c40dd0bbbf224b8360 (patch)
tree0ffebd5b279f07efcd73199b810ec60b798ba767 /meta/classes/grub-efi.bbclass
parentedcb57fe308979cc5b92359d064e32bb70d4ad76 (diff)
downloadopenembedded-core-contrib-20e2aaacb36113604c4ea7c40dd0bbbf224b8360.tar.gz
grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'
"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>
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index a093628455..c6f5d4e246 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -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"