From: Holger Freyther Date: Thu, 27 Dec 2007 11:46:52 +0000 (+0000) Subject: classes/binconfig.bbclass: Allow packages to add sed expressions X-Git-Tag: rev_ivi_2015_02_04~14668 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=755f0a8865ca70215f86df026b2294369c0175e6;p=scm%2Fbb%2Ftizen-distro.git 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 (From OE-Core rev: ab56f1063a666df5faddd97f44758c8ae378e51c) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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"