mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
selinux.bbclass: nativesdk- prefix to fit oe-core master.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
parent
44f43e02bd
commit
098ad74b7c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user