mirror of https://git.wownero.com/dsc/mxe.git
Check if specified target is valid
See #518. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
557804efbc
commit
8dbc665ea1
2
Makefile
2
Makefile
|
@ -310,6 +310,8 @@ $(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)))),
|
||||
$(error Invalid target specified: "$(1)"))
|
||||
$(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))),
|
||||
@echo
|
||||
@echo '------------------------------------------------------------'
|
||||
|
|
Loading…
Reference in New Issue