include/autoconf.mk: decouple host fixups from target fixups
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48403
This commit is contained in:
parent
4c030333a3
commit
d542d8e3c1
1 changed files with 4 additions and 10 deletions
|
@ -143,27 +143,21 @@ define patch_libtool_host
|
||||||
$(HOST_BUILD_DIR)))
|
$(HOST_BUILD_DIR)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifneq ($(filter patch-libtool,$(PKG_FIXUP)),)
|
ifneq ($(filter patch-libtool-host,$(PKG_FIXUP)),)
|
||||||
Hooks/HostConfigure/Pre += patch_libtool_host
|
Hooks/HostConfigure/Pre += patch_libtool_host
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter patch-libtool,$(HOST_FIXUP)),)
|
ifneq ($(filter patch-libtool-host,$(HOST_FIXUP)),)
|
||||||
Hooks/HostConfigure/Pre += $(strip $(call patch_libtool,$(HOST_BUILD_DIR)))
|
Hooks/HostConfigure/Pre += $(strip $(call patch_libtool,$(HOST_BUILD_DIR)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter libtool,$(HOST_FIXUP)),)
|
ifneq ($(filter libtool-host,$(HOST_FIXUP)),)
|
||||||
ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),)
|
ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),)
|
||||||
Hooks/HostConfigure/Pre += autoreconf_host
|
Hooks/HostConfigure/Pre += autoreconf_host
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter libtool-ucxx,$(HOST_FIXUP)),)
|
ifneq ($(filter autoreconf-host,$(HOST_FIXUP)),)
|
||||||
ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),)
|
|
||||||
Hooks/HostConfigure/Pre += autoreconf_host
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(filter autoreconf,$(HOST_FIXUP)),)
|
|
||||||
ifeq ($(filter autoreconf,$(Hooks/HostConfigure/Pre)),)
|
ifeq ($(filter autoreconf,$(Hooks/HostConfigure/Pre)),)
|
||||||
Hooks/HostConfigure/Pre += autoreconf_host
|
Hooks/HostConfigure/Pre += autoreconf_host
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue