From df4662758708ec030852ba3de007e021f0c4ad49 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 1 Jun 2012 11:48:30 -0500 Subject: 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 --- recipes-security/selinux/libselinux_git.bb | 4 ++-- 1 file 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" 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 \ -- cgit v1.2.3-54-g00ecf