summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/autotools.bbclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass
index 99d3cb7583..b1829e83e2 100644
--- a/meta/classes-recipe/autotools.bbclass
+++ b/meta/classes-recipe/autotools.bbclass
@@ -134,12 +134,11 @@ EXTRACONFFUNCS ??= ""
134 134
135EXTRA_OECONF:append = " ${PACKAGECONFIG_CONFARGS}" 135EXTRA_OECONF:append = " ${PACKAGECONFIG_CONFARGS}"
136 136
137do_configure[prefuncs] += "autotools_preconfigure autotools_aclocals ${EXTRACONFFUNCS}" 137do_configure[prefuncs] += "autotools_preconfigure autotools_sitefiles ${EXTRACONFFUNCS}"
138do_compile[prefuncs] += "autotools_aclocals"
139do_install[prefuncs] += "autotools_aclocals"
140do_configure[postfuncs] += "autotools_postconfigure" 138do_configure[postfuncs] += "autotools_postconfigure"
141 139
142python autotools_aclocals () { 140# Tell autoconf to load the site defaults from siteinfo
141python autotools_sitefiles () {
143 sitefiles, searched = siteinfo_get_files(d, sysrootcache=True) 142 sitefiles, searched = siteinfo_get_files(d, sysrootcache=True)
144 d.setVar("CONFIG_SITE", " ".join(sitefiles)) 143 d.setVar("CONFIG_SITE", " ".join(sitefiles))
145} 144}