X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fautotools.mk;h=259569b14fd0112b286a6809f4ce2d4c860620b6;hb=f9240c84dd9747e24fe2b6eb52a7cb4c3e90424c;hp=3e028fa72de35d7dadd78fd7316e890cb298be7a;hpb=2420b63326b24652ba8948d15eeb5d5b0fdc05eb;p=openwrt.git diff --git a/include/autotools.mk b/include/autotools.mk index 3e028fa72d..259569b14f 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -85,11 +85,11 @@ endef define gettext_version_target (cd $(PKG_BUILD_DIR) && \ - GETTEXT_VERSION=$(shell $(STAGING_DIR_HOST)/bin/gettext -V | $(STAGING_DIR_HOST)/bin/sed -ne '1s/.* //p') && \ + GETTEXT_VERSION=$(shell $(STAGING_DIR)/host/bin/gettext -V | $(STAGING_DIR_HOST)/bin/sed -ne '1s/.* //p') && \ $(STAGING_DIR_HOST)/bin/sed \ -i $(PKG_BUILD_DIR)/configure.ac \ -e "s/AM_GNU_GETTEXT_VERSION(.*)/AM_GNU_GETTEXT_VERSION(\[$$$$GETTEXT_VERSION\])/g" && \ - $(STAGING_DIR_HOST)/bin/autopoint --force \ + $(STAGING_DIR)/host/bin/autopoint --force \ ); endef @@ -143,21 +143,27 @@ define patch_libtool_host $(HOST_BUILD_DIR))) endef -ifneq ($(filter patch-libtool-host,$(PKG_FIXUP)),) +ifneq ($(filter patch-libtool,$(PKG_FIXUP)),) Hooks/HostConfigure/Pre += patch_libtool_host endif -ifneq ($(filter patch-libtool-host,$(HOST_FIXUP)),) +ifneq ($(filter patch-libtool,$(HOST_FIXUP)),) Hooks/HostConfigure/Pre += $(strip $(call patch_libtool,$(HOST_BUILD_DIR))) endif -ifneq ($(filter libtool-host,$(HOST_FIXUP)),) +ifneq ($(filter libtool,$(HOST_FIXUP)),) + ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),) + Hooks/HostConfigure/Pre += autoreconf_host + endif +endif + +ifneq ($(filter libtool-ucxx,$(HOST_FIXUP)),) ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),) Hooks/HostConfigure/Pre += autoreconf_host endif endif -ifneq ($(filter autoreconf-host,$(HOST_FIXUP)),) +ifneq ($(filter autoreconf,$(HOST_FIXUP)),) ifeq ($(filter autoreconf,$(Hooks/HostConfigure/Pre)),) Hooks/HostConfigure/Pre += autoreconf_host endif