summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-27 11:46:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-06 12:31:14 +0000
commit46eabf3a90efc0e0afd3795beca56f0e1ff88ae0 (patch)
tree31ba7f393bec9b0a0ca136643fe6eeb69704837e /meta/classes
parent1e63822166f756f287e77e6cb041aee2664b7a54 (diff)
downloadpoky-46eabf3a90efc0e0afd3795beca56f0e1ff88ae0.tar.gz
classes/binconfig.bbclass: Allow packages to add sed expressions
packages/apr/apr-util,apr use this, but it not been in the class patch the config files to be 'installed' and not point to the build and source-directory. From OE-Classic: http://git.openembedded.org/openembedded/commit/?id=030992bdd415c8892cf2925cf6fbe888226be046 [YOCTO #3267] Orignal Author: Holger Freyther <zecke@selfish.org> (From OE-Core rev: ab56f1063a666df5faddd97f44758c8ae378e51c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/binconfig.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 60012c863d..7b683a80fd 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -19,6 +19,9 @@ def get_binconfig_mangle(d):
19 s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'" 19 s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
20 s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'" 20 s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
21 s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'" 21 s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
22 if bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d):
23 s += bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d)
24
22 return s 25 return s
23 26
24BINCONFIG_GLOB ?= "*-config" 27BINCONFIG_GLOB ?= "*-config"