summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2014-06-19 16:42:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-24 19:53:02 +0100
commitb62bf9e1cb8670901cfc37b1cd1822703ebdc000 (patch)
treea159a46aebe715bd591b0d0596dd147f39689f7f
parentc8dc421ea18bb7a810501ab6d07efa9c8f6d6eb9 (diff)
downloadopenembedded-core-b62bf9e1cb8670901cfc37b1cd1822703ebdc000.tar.gz
openembedded-core-b62bf9e1cb8670901cfc37b1cd1822703ebdc000.tar.bz2
openembedded-core-b62bf9e1cb8670901cfc37b1cd1822703ebdc000.zip
grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag
Add MLPREFIX to depends flag to ensure the correct grub-efi is dependended upon. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 5c80c177de..505d032cc8 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -15,8 +15,8 @@
# ${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:do_deploy"
-do_bootdirectdisk[depends] += "grub-efi:do_deploy"
+do_bootimg[depends] += "${MLPREFIX}grub-efi:do_deploy"
+do_bootdirectdisk[depends] += "${MLPREFIX}grub-efi:do_deploy"
GRUB_SERIAL ?= "console=ttyS0,115200"
GRUBCFG = "${S}/grub.cfg"