diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-01-07 10:47:22 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-01-07 10:47:22 +0800 |
commit | 098ad74b7c0d6eeb299cdecbe715094091711262 (patch) | |
tree | 9420c238be43cde837afbf38c00f59f495f601cd | |
parent | 44f43e02bd82c8a00c2f121bf7ca3062a46998c3 (diff) | |
download | meta-selinux-098ad74b7c0d6eeb299cdecbe715094091711262.tar.gz |
selinux.bbclass: nativesdk- prefix to fit oe-core master.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | classes/selinux.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/selinux.bbclass b/classes/selinux.bbclass index 87d4d59..f9db49c 100644 --- a/classes/selinux.bbclass +++ b/classes/selinux.bbclass | |||
@@ -4,7 +4,7 @@ def target_selinux(d, truevar = 'selinux', falsevar = ''): | |||
4 | 4 | ||
5 | pn = d.getVar("PN", True) | 5 | pn = d.getVar("PN", True) |
6 | type = pn.replace(d.getVar("BPN", True), "") | 6 | type = pn.replace(d.getVar("BPN", True), "") |
7 | if type in ("-native", "-nativesdk", "-cross", "-crosssdk"): | 7 | if type in ("-native", "nativesdk-", "-cross", "-crosssdk"): |
8 | return falsevar | 8 | return falsevar |
9 | 9 | ||
10 | return truevar | 10 | return truevar |