From 030992bdd415c8892cf2925cf6fbe888226be046 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Thu, 27 Dec 2007 11:46:52 +0000 Subject: classes/binconfig.bbclass: Allow packages to add sed expressions packages/apr/apr-util,apr: patch the config files to be 'installed' and not point to the build and source-directory. --- classes/binconfig.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass index 4e425a76d6..5ce9ff6f0d 100644 --- a/classes/binconfig.bbclass +++ b/classes/binconfig.bbclass @@ -20,6 +20,8 @@ def get_binconfig_mangle(d): s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${layout_exec_prefix}:'" s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'" s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'" + if bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d): + s += bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d) return s BINCONFIG_GLOB ?= "*-config" -- cgit v1.2.3 From 4acfd704d0eb15143f1487ef728e6900dcdc460d Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Thu, 27 Dec 2007 13:37:33 +0000 Subject: classes/autotools.bbclass: Use bruteforce and set installed=yes to =no This is silenting issues with various libtool files that have installed=yes. --- classes/autotools.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 8e4fba9400..991e472b14 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -174,6 +174,8 @@ autotools_stage_all() { fi if [ -d ${STAGE_TEMP}/${libdir} ] then + find ${STAGE_TEMP}/${libdir} -name '*.la' -exec sed -i s,installed=yes,installed=no, {} \; + for i in ${STAGE_TEMP}/${libdir}/*.la do if [ ! -f "$i" ]; then -- cgit v1.2.3