diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-15 14:39:55 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 16:59:55 +0000 |
| commit | 0866fc91def60d5a630af02868bd9c54059dca04 (patch) | |
| tree | 7f877a6e06c0abab164b5efbe016cd3cdb681b1e | |
| parent | e395ace67198551630f4aeb7c7e52253687fb407 (diff) | |
| download | poky-0866fc91def60d5a630af02868bd9c54059dca04.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 master rev: 5011f4bc8a418d0616d2936b60ecb7ca156632a3)
(From OE-Core rev: 48b4bb2f98a1b7b97688071af4c2d3ee390b6ab3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 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 | ||
| 60 | python nativesdk_virtclass_handler () { | 60 | python 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-") |
