diff options
-rw-r--r-- | meta/classes-recipe/autotools.bbclass | 7 |
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 | ||
135 | EXTRA_OECONF:append = " ${PACKAGECONFIG_CONFARGS}" | 135 | EXTRA_OECONF:append = " ${PACKAGECONFIG_CONFARGS}" |
136 | 136 | ||
137 | do_configure[prefuncs] += "autotools_preconfigure autotools_aclocals ${EXTRACONFFUNCS}" | 137 | do_configure[prefuncs] += "autotools_preconfigure autotools_sitefiles ${EXTRACONFFUNCS}" |
138 | do_compile[prefuncs] += "autotools_aclocals" | ||
139 | do_install[prefuncs] += "autotools_aclocals" | ||
140 | do_configure[postfuncs] += "autotools_postconfigure" | 138 | do_configure[postfuncs] += "autotools_postconfigure" |
141 | 139 | ||
142 | python autotools_aclocals () { | 140 | # Tell autoconf to load the site defaults from siteinfo |
141 | python 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 | } |