Patchwork [v4,1/3] autotools.bbclass: add EXTRACONFFUNCS variable

login
register
mail settings
Submitter Constantin Musca
Date Jan. 29, 2013, 3:12 p.m.
Message ID <ec539703f5d43d81606d305dcb431ee1a96a5bb6.1359470548.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43645/
State Accepted
Commit d7950a25eda96a271aa6d541e03177d47e533f3f
Headers show

Comments

Constantin Musca - Jan. 29, 2013, 3:12 p.m.
- add EXTRACONFFUNCS variable in order to make it possible
to inject tasks after autotools_preconfigure

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/classes/autotools.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

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() {