summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/host-bottom.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/host-bottom.mk b/mk/host-bottom.mk
index 1ca851d26..081e4d8b9 100644
--- a/mk/host-bottom.mk
+++ b/mk/host-bottom.mk
@@ -8,6 +8,10 @@ host-configure:
${_HOST_CONFIGURE_COOKIE}: ${_HOST_PATCH_COOKIE}
@mkdir -p ${WRKBUILD}
@$(CMD_TRACE) "host configuring... "
+ifneq (,$(filter autogen,${AUTOTOOL_STYLE}))
+ @$(CMD_TRACE) "autotool configuring... "
+ @cd ${WRKSRC}; env ${AUTOTOOL_ENV} $(BASH) autogen.sh $(MAKE_TRACE)
+endif
ifneq (,$(filter autoreconf,${AUTOTOOL_STYLE}))
cd ${WRKSRC}; env ${AUTOTOOL_ENV} autoreconf -if $(MAKE_TRACE)
@rm -rf ${WRKSRC}/autom4te.cache