summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-10-08 17:29:43 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-10-08 17:29:43 (GMT)
commit48356195595c4020bc689a91bdbc2d78a215f64b (patch)
treec3367ac647e7533ca50197f9d39d62f2ce884328
parent357e71356bc4030a7a06bc0e370d58c6acc75262 (diff)
downloadmxe-48356195595c4020bc689a91bdbc2d78a215f64b.zip
mxe-48356195595c4020bc689a91bdbc2d78a215f64b.tar.gz
mxe-48356195595c4020bc689a91bdbc2d78a215f64b.tar.bz2
Makefile: add $(BUILD) to allowed targets
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d0c9b8..8e4f685 100644
--- a/Makefile
+++ b/Makefile
@@ -310,7 +310,7 @@ $(1): | $(if $(value $(1)_DEPS), \
$(addprefix $(PREFIX)/$($(1)_DEPS)/installed/,$(PKGS))))) \
$($(1)_DEPS)
@echo '[target] $(1) $(call TARGET_HEADER)'
- $(if $(findstring 0,$(words $(findstring $(1),$(MXE_TARGET_LIST)))),
+ $(if $(findstring 0,$(words $(findstring $(1),$(MXE_TARGET_LIST) $(BUILD)))),
$(error Invalid target specified: "$(1)"))
$(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))),
@echo