summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-15 14:39:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-16 13:31:37 +0100
commit4bece4b9e62eaa6d3b74390e9009ed2ebf72ede5 (patch)
tree0892b4d5b570a011f65b978b39de6c6d6d3edd28 /meta/classes
parent024bd68f643d2d915f6a6b769bf278480d241fa7 (diff)
downloadpoky-4bece4b9e62eaa6d3b74390e9009ed2ebf72ede5.tar.gz
nativesdk: Fix pn check
There are missing brackets in the check meaning MLPREFIX doesn't get set for nativesdk-qemu-helper when it should be. (From OE-Core rev: 5011f4bc8a418d0616d2936b60ecb7ca156632a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/nativesdk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index ed276ef0a4..94bc326671 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -59,7 +59,7 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
59 59
60python nativesdk_virtclass_handler () { 60python nativesdk_virtclass_handler () {
61 pn = e.data.getVar("PN", True) 61 pn = e.data.getVar("PN", True)
62 if not pn.endswith("-nativesdk") or pn.startswith("nativesdk-"): 62 if not (pn.endswith("-nativesdk") or pn.startswith("nativesdk-")):
63 return 63 return
64 64
65 e.data.setVar("MLPREFIX", "nativesdk-") 65 e.data.setVar("MLPREFIX", "nativesdk-")