mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
@@ -59,7 +59,7 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
|
|||||||
|
|
||||||
python nativesdk_virtclass_handler () {
|
python nativesdk_virtclass_handler () {
|
||||||
pn = e.data.getVar("PN", True)
|
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
|
return
|
||||||
|
|
||||||
e.data.setVar("MLPREFIX", "nativesdk-")
|
e.data.setVar("MLPREFIX", "nativesdk-")
|
||||||
|
|||||||
Reference in New Issue
Block a user