summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-01 11:48:30 -0500
committerMark Hatle <mark.hatle@windriver.com>2012-06-01 11:48:30 -0500
commitdf4662758708ec030852ba3de007e021f0c4ad49 (patch)
treeb42db0e2ecfcd527283aed8d17e80bb801376fe3
parent06337c05138c3921f3f524c16ef4de679bf7ccb2 (diff)
downloadmeta-selinux-df4662758708ec030852ba3de007e021f0c4ad49.tar.gz
libselinux_git.bb: Add workaround for bitbake parse issue
See Yocto Project bugzilla: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2530 This is a temporary workaround to the parsing issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r--recipes-security/selinux/libselinux_git.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/selinux/libselinux_git.bb b/recipes-security/selinux/libselinux_git.bb
index 5a96094..85bc1f9 100644
--- a/recipes-security/selinux/libselinux_git.bb
+++ b/recipes-security/selinux/libselinux_git.bb
@@ -20,13 +20,13 @@ PACKAGES += "${PN}-python"
20FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" 20FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*"
21FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" 21FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*"
22 22
23def get_policyconfigarch(d): 23def get_git_policyconfigarch(d):
24 import re 24 import re
25 target = d.getVar('TARGET_ARCH', True) 25 target = d.getVar('TARGET_ARCH', True)
26 p = re.compile('i.86') 26 p = re.compile('i.86')
27 target = p.sub('i386',target) 27 target = p.sub('i386',target)
28 return "ARCH=%s" % (target) 28 return "ARCH=%s" % (target)
29EXTRA_OEMAKE += "${@get_policyconfigarch(d)}" 29EXTRA_OEMAKE += "${@get_git_policyconfigarch(d)}"
30 30
31do_compile_append() { 31do_compile_append() {
32 oe_runmake pywrap -j1 \ 32 oe_runmake pywrap -j1 \