diff options
author | Holger Freyther <zecke@selfish.org> | 2007-12-27 11:46:52 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-12-27 11:46:52 +0000 |
commit | 030992bdd415c8892cf2925cf6fbe888226be046 (patch) | |
tree | 8ffc30bf1b6e7a3366a8c5bcafb139535fac1a2d /classes | |
parent | 83ada4a02f5c6ad9eb4af7e947fd113204adb2ce (diff) |
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.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/binconfig.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
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" |