From e0c4d8cc186f5402b19b6476468a127c605385c6 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 22 Jun 2022 19:43:40 +0200 Subject: [PATCH] - environment-build: move autoreconf hook after pre-configure hooks --- make/environment-build.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make/environment-build.mk b/make/environment-build.mk index da45875c..654858bd 100644 --- a/make/environment-build.mk +++ b/make/environment-build.mk @@ -269,7 +269,7 @@ TARGET_CONFIGURE_OPTS = \ TARGET_CONFIGURE_OPTS += \ $($(PKG)_CONF_OPTS) -define AUTORECONF +define AUTORECONF_HOOK $(Q)( \ if [ "$($(PKG)_AUTORECONF)" == "YES" ]; then \ $(call MESSAGE,"Autoreconfiguring"); \ @@ -280,9 +280,9 @@ define AUTORECONF endef define HOST_CONFIGURE - $(call AUTORECONF) @$(call MESSAGE,"Configuring") $(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep)) + $(call AUTORECONF_HOOK) $(Q)( \ $(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \ test -f ./configure || ./autogen.sh && \ @@ -293,9 +293,9 @@ define HOST_CONFIGURE endef define TARGET_CONFIGURE - $(call AUTORECONF) @$(call MESSAGE,"Configuring") $(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep)) + $(call AUTORECONF_HOOK) $(Q)( \ $(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \ test -f ./configure || ./autogen.sh && \