diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-04-22 09:13:17 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-04-22 09:13:17 (GMT) |
commit | a90a7252e2642fb3b5a951410deb9e33a29fdeef (patch) | |
tree | ca916bd88dde6b22e71b8bb1eee4f5ea271d4799 /Makefile | |
parent | 999e533e05ea0b3927708a0b636f4c64075729a0 (diff) | |
download | mxe-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' |