summaryrefslogtreecommitdiff
path: root/meta
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:30:36 +0000
commitab56f1063a666df5faddd97f44758c8ae378e51c (patch)
tree377a2f9406491a97cc11c0164bda90f34e35f92c /meta
parentebcd909451ae6a2d00b83f6aa7f28794355a6935 (diff)
downloadopenembedded-core-ab56f1063a666df5faddd97f44758c8ae378e51c.tar.gz
openembedded-core-ab56f1063a666df5faddd97f44758c8ae378e51c.tar.bz2
openembedded-core-ab56f1063a666df5faddd97f44758c8ae378e51c.zip
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> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-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):
s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${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"