summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-01-28 11:39:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:51:31 +0000
commitd7950a25eda96a271aa6d541e03177d47e533f3f (patch)
tree3c7091b298af074eb7d90695d4006d67fcbd58ef
parent83b0af0aa50e1b0259ae13ea723289a3edb7d9e2 (diff)
downloadopenembedded-core-d7950a25eda96a271aa6d541e03177d47e533f3f.tar.gz
openembedded-core-d7950a25eda96a271aa6d541e03177d47e533f3f.tar.bz2
openembedded-core-d7950a25eda96a271aa6d541e03177d47e533f3f.zip
autotools.bbclass: add EXTRACONFFUNCS variable
- add EXTRACONFFUNCS variable in order to make it possible to inject tasks after autotools_preconfigure (From OE-Core rev: eafaeee58ab7a8f0613f54b8411f41ccefdf94c3) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/autotools.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9d1a2992c2..b19a871827 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() {