[oe-commits] Holger Freyther : classes/binconfig.bbclass: Allow packages to add sed expressions

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 12:34:45 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: ab56f1063a666df5faddd97f44758c8ae378e51c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ab56f1063a666df5faddd97f44758c8ae378e51c

Author: Holger Freyther <zecke at selfish.org>
Date:   Thu Dec 27 11:46:52 2007 +0000

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 at selfish.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/binconfig.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 60012c8..7b683a8 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"





More information about the Openembedded-commits mailing list