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 <[email protected]>
---
meta/classes/nativesdk.bbclass +2 -1
@@ -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-")