Browse Source

- environment-build: move autoreconf hook after pre-configure hooks

master
vanhofen 3 years ago
parent
commit
e0c4d8cc18
  1. 6
      make/environment-build.mk

6
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 && \

Loading…
Cancel
Save