summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-22 09:13:17 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-22 09:13:17 (GMT)
commita90a7252e2642fb3b5a951410deb9e33a29fdeef (patch)
treeca916bd88dde6b22e71b8bb1eee4f5ea271d4799 /Makefile
parent999e533e05ea0b3927708a0b636f4c64075729a0 (diff)
downloadmxe-a90a7252e2642fb3b5a951410deb9e33a29fdeef.zip
mxe-a90a7252e2642fb3b5a951410deb9e33a29fdeef.tar.gz
mxe-a90a7252e2642fb3b5a951410deb9e33a29fdeef.tar.bz2
silence deprecated target name warning for build-requirements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c59b5e5..5baee45 100644
--- a/Makefile
+++ b/Makefile
@@ -198,7 +198,7 @@ download: $(addprefix download-,$(PKGS))
.PHONY: build-requirements
build-requirements:
- @$(MAKE) -f '$(MAKEFILE)' $(BUILD_PKGS) MXE_TARGETS=$(BUILD).static DONT_CHECK_REQUIREMENTS=true
+ @$(MAKE) -f '$(MAKEFILE)' $(BUILD_PKGS) MXE_TARGETS=$(BUILD) DONT_CHECK_REQUIREMENTS=true
define TARGET_DEPS
$(1)_DEPS := $(shell echo '$(MXE_TARGETS)' | \
@@ -225,7 +225,7 @@ $(1): | $(if $(value $(1)_DEPS), \
$(addprefix $(PREFIX)/$($(1)_DEPS)/installed/,$(PKGS))))) \
$($(1)_DEPS)
@echo '[target] $(1) $(call TARGET_HEADER)'
- $(if $(findstring 1,$(words $(subst ., ,$(1)))),
+ $(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))),
@echo
@echo '------------------------------------------------------------'
@echo 'Warning: Deprecated target name $(1) specified'