selinux.bbclass: nativesdk- prefix to fit oe-core master.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
Xin Ouyang 2013-01-07 10:47:22 +08:00
parent 44f43e02bd
commit 098ad74b7c

View File

@ -4,7 +4,7 @@ def target_selinux(d, truevar = 'selinux', falsevar = ''):
pn = d.getVar("PN", True)
type = pn.replace(d.getVar("BPN", True), "")
if type in ("-native", "-nativesdk", "-cross", "-crosssdk"):
if type in ("-native", "nativesdk-", "-cross", "-crosssdk"):
return falsevar
return truevar