mirror of https://git.wownero.com/dsc/mxe.git
Makefile: add $(BUILD) to allowed targets
This commit is contained in:
parent
357e71356b
commit
4835619559
2
Makefile
2
Makefile
|
@ -310,7 +310,7 @@ $(1): | $(if $(value $(1)_DEPS), \
|
||||||
$(addprefix $(PREFIX)/$($(1)_DEPS)/installed/,$(PKGS))))) \
|
$(addprefix $(PREFIX)/$($(1)_DEPS)/installed/,$(PKGS))))) \
|
||||||
$($(1)_DEPS)
|
$($(1)_DEPS)
|
||||||
@echo '[target] $(1) $(call TARGET_HEADER)'
|
@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)"))
|
$(error Invalid target specified: "$(1)"))
|
||||||
$(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))),
|
$(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))),
|
||||||
@echo
|
@echo
|
||||||
|
|
Loading…
Reference in New Issue