]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag
authorMing Liu <ming.liu@windriver.com>
Thu, 19 Jun 2014 08:42:59 +0000 (16:42 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jun 2014 18:53:02 +0000 (19:53 +0100)
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>
meta/classes/grub-efi.bbclass

index 5c80c177de12499cd35bc0ad29806f95dc3e495e..505d032cc8b8d032ff5c305ab7d2f660d8e715c0 100644 (file)
@@ -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"