diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-15 14:39:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-16 13:31:37 +0100 |
commit | 4bece4b9e62eaa6d3b74390e9009ed2ebf72ede5 (patch) | |
tree | 0892b4d5b570a011f65b978b39de6c6d6d3edd28 /meta/classes | |
parent | 024bd68f643d2d915f6a6b769bf278480d241fa7 (diff) | |
download | ast2050-yocto-poky-4bece4b9e62eaa6d3b74390e9009ed2ebf72ede5.zip ast2050-yocto-poky-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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index ed276ef..94bc326 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-") |