* nativesdk: Fix pn check
@ 2013-10-15 13:39 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-10-15 13:39 UTC (permalink / raw)
To: openembedded-core
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>
---
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index ed276ef..e092b3b 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -59,7 +59,8 @@ 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-")):
+ bb.warn(str(pn))
return
e.data.setVar("MLPREFIX", "nativesdk-")
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-15 13:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 13:39 nativesdk: Fix pn check Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox