image.bbclass: Add MLPREFIX to DEPENDS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Feb 2013 13:32:55 +0000 (13:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Feb 2013 15:25:06 +0000 (15:25 +0000)
Add MLPREFIX to DEPENDS to ensure the correct qemuwrapper is dependended upon. Its searched
for in PATH so we need to do this to ensure the correct version is present.

(From OE-Core rev: 41163fc5e6662251ec264fd5194a649342d11de1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 5cbf73a..84ddc38 100644 (file)
@@ -10,7 +10,7 @@ inherit gzipnative
 
 LICENSE = "MIT"
 PACKAGES = ""
-DEPENDS += "qemuwrapper-cross"
+DEPENDS += "${MLPREFIX}qemuwrapper-cross"
 RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}"
 RRECOMMENDS += "${NORMAL_FEATURE_INSTALL_OPTIONAL}"