]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: add EXTRACONFFUNCS variable
authorConstantin Musca <constantinx.musca@intel.com>
Mon, 28 Jan 2013 09:39:12 +0000 (11:39 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:51:31 +0000 (15:51 +0000)
- 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>
meta/classes/autotools.bbclass

index 9d1a2992c2db6f617f085b168d74c538f2c3689c..b19a871827378fbca8c64a940aac52f9d0846afa 100644 (file)
@@ -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() {