mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
06337c0513
commit
df46627587
|
|
@ -20,13 +20,13 @@ PACKAGES += "${PN}-python"
|
|||
FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*"
|
||||
FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*"
|
||||
|
||||
def get_policyconfigarch(d):
|
||||
def get_git_policyconfigarch(d):
|
||||
import re
|
||||
target = d.getVar('TARGET_ARCH', True)
|
||||
p = re.compile('i.86')
|
||||
target = p.sub('i386',target)
|
||||
return "ARCH=%s" % (target)
|
||||
EXTRA_OEMAKE += "${@get_policyconfigarch(d)}"
|
||||
EXTRA_OEMAKE += "${@get_git_policyconfigarch(d)}"
|
||||
|
||||
do_compile_append() {
|
||||
oe_runmake pywrap -j1 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user