summaryrefslogtreecommitdiff
path: root/meta/classes/nativesdk.bbclass
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:27:46 +0100
commit5011f4bc8a418d0616d2936b60ecb7ca156632a3 (patch)
tree924c4ab90dc7c97215cbbfb676c5f2ef16632380 /meta/classes/nativesdk.bbclass
parentb11bfadba20c1f39a63e396e605a8316c2ed2a94 (diff)
downloadopenembedded-core-5011f4bc8a418d0616d2936b60ecb7ca156632a3.tar.gz
openembedded-core-5011f4bc8a418d0616d2936b60ecb7ca156632a3.tar.bz2
openembedded-core-5011f4bc8a418d0616d2936b60ecb7ca156632a3.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-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}"
python nativesdk_virtclass_handler () {
pn = e.data.getVar("PN", True)
- if not pn.endswith("-nativesdk") or pn.startswith("nativesdk-"):
+ if not (pn.endswith("-nativesdk") or pn.startswith("nativesdk-")):
return
e.data.setVar("MLPREFIX", "nativesdk-")