[oe-commits] Constantin Musca : autotools.bbclass: add EXTRACONFFUNCS variable

git at git.openembedded.org git at git.openembedded.org
Thu Jan 31 14:11:38 UTC 2013


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

Author: Constantin Musca <constantinx.musca at intel.com>
Date:   Mon Jan 28 11:39:12 2013 +0200

autotools.bbclass: add EXTRACONFFUNCS variable

- add EXTRACONFFUNCS variable in order to make it possible
to inject tasks after autotools_preconfigure

Signed-off-by: Constantin Musca <constantinx.musca at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

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

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9d1a299..b19a871 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -122,7 +122,9 @@ autotools_postconfigure(){
 	fi
 }
 
-do_configure[prefuncs] += "autotools_preconfigure"
+EXTRACONFFUNCS ??= ""
+
+do_configure[prefuncs] += "autotools_preconfigure ${EXTRACONFFUNCS}"
 do_configure[postfuncs] += "autotools_postconfigure"
 
 autotools_do_configure() {





More information about the Openembedded-commits mailing list