mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-30 03:53:26 +08:00
Makefile: fix unnecessary recompilations when no Standalone mode is defined
This commit is contained in:
parent
955b5365cf
commit
e6d1e3bbfc
1 changed files with 3 additions and 1 deletions
|
@ -139,7 +139,9 @@ endif
|
|||
ifneq ($(strip $(filter $(PLATFORM_DEFS),$(STANDALONE_REQ_DEFS))),$(strip $(STANDALONE_REQ_DEFS)))
|
||||
$(error Chosen Standalone mode $(STANDALONE) requires $(strip $(STANDALONE_REQ_DEFS)), unsupported by $(PLTNAME))
|
||||
endif
|
||||
PLATFORM_DEFS+=$(STANDALONE_PLATFORM_DEFS)
|
||||
ifneq (,$(STANDALONE_PLATFORM_DEFS))
|
||||
PLATFORM_DEFS+=$(STANDALONE_PLATFORM_DEFS)
|
||||
endif
|
||||
|
||||
$(info $(findstring WITH_STANDALONE_*,$(PLATFORM_DEFS)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue