diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-01 11:48:30 -0500 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2012-06-01 11:48:30 -0500 |
commit | df4662758708ec030852ba3de007e021f0c4ad49 (patch) | |
tree | b42db0e2ecfcd527283aed8d17e80bb801376fe3 | |
parent | 06337c05138c3921f3f524c16ef4de679bf7ccb2 (diff) | |
download | meta-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.bb | 4 |
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" | |||
20 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" | 20 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" |
21 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" | 21 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" |
22 | 22 | ||
23 | def get_policyconfigarch(d): | 23 | def 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) |
29 | EXTRA_OEMAKE += "${@get_policyconfigarch(d)}" | 29 | EXTRA_OEMAKE += "${@get_git_policyconfigarch(d)}" |
30 | 30 | ||
31 | do_compile_append() { | 31 | do_compile_append() { |
32 | oe_runmake pywrap -j1 \ | 32 | oe_runmake pywrap -j1 \ |