[oe-commits] [openembedded-core] 04/24: libcap: Replace EXTRA_OECONF with PACKAGECONFIG_CONFARGS

git at git.openembedded.org git at git.openembedded.org
Wed Sep 7 23:37:47 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit f3a50f89a217014c0926498e99e62c617a8a4cae
Author: Marek Vasut <marex at denx.de>
AuthorDate: Sun Sep 4 18:20:20 2016 +0200

    libcap: Replace EXTRA_OECONF with PACKAGECONFIG_CONFARGS
    
    When building libcap and DISTRO_FEATURES does not contain pam,
    the build will fail on missing pam headers. This is because the
    bits from EXTRA_OECONF moved to PACKAGECONFIG_CONFARGS and thus
    the necessary options are not propagated to oe_runmake anymore.
    Replace EXTRA_OECONF with PACKAGECONFIG_CONFARGS to fix this.
    
    | arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=vfp  -mfloat-abi=softfp --sysroot=/b/tmp/sysroots/board  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/b/tmp/work/armv7a-vfp-poky-linux-gnueabi/libcap/2.25-r0=/usr/src/debug/libcap/2.25-r0 -fdebug-prefix-map=/b/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/b/tmp/sysroots/board=  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wm [...]
    | pam_cap.c:19:34: fatal error: security/pam_modules.h: No such file or directory
    |  #include <security/pam_modules.h>
    |                                   ^
    | compilation terminated.
    
    Signed-off-by: Marek Vasut <marex at denx.de>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/libcap/libcap_2.25.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb
index 8f3f11e..7ced4be 100644
--- a/meta/recipes-support/libcap/libcap_2.25.bb
+++ b/meta/recipes-support/libcap/libcap_2.25.bb
@@ -47,12 +47,12 @@ EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}"
 CFLAGS += "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
 
 do_compile() {
-	oe_runmake ${EXTRA_OECONF}
+	oe_runmake ${PACKAGECONFIG_CONFARGS}
 }
 
 do_install() {
 	oe_runmake install \
-		${EXTRA_OECONF} \
+		${PACKAGECONFIG_CONFARGS} \
 		DESTDIR="${D}" \
 		prefix="${prefix}" \
 		SBINDIR="${sbindir}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list