From: Wenzong Fan <wenzong....@windriver.com> Some variables are exported by top Makefile and updated from sub Makefile (such as PCRE_LDFLAGS, DISABLE_FLAGS ...).
The '-e' option prevents those variables from updating in the sub Makefile and causes libselinux build errors: | label.lo:(.data.rel.ro.local+0x20): undefined reference to `selabel_property_init' | label.lo:(.data.rel.ro.local+0x28): undefined reference to `selabel_service_init' oe-core also cleaned such default value from commit: aeb65386 Signed-off-by: Wenzong Fan <wenzong....@windriver.com> --- recipes-security/selinux/selinux_common.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/recipes-security/selinux/selinux_common.inc b/recipes-security/selinux/selinux_common.inc index 7efa694..e4c23a1 100644 --- a/recipes-security/selinux/selinux_common.inc +++ b/recipes-security/selinux/selinux_common.inc @@ -1,10 +1,5 @@ HOMEPAGE = "https://github.com/SELinuxProject" -# EXTRA_OEMAKE is typically: -e MAKEFLAGS= -# "MAKEFLAGS= " causes problems as ENV variables will not pass to subdirs, so -# we redefine EXTRA_OEMAKE here -EXTRA_OEMAKE = "-e" - do_compile() { oe_runmake all \ INCLUDEDIR='${STAGING_INCDIR}' \ -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto