mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Proper Makefile halting when using incompatible Standalone mode and Platform
This commit is contained in:
parent
cbdc4704ad
commit
4abb4b939f
4 changed files with 20 additions and 0 deletions
|
@ -114,6 +114,9 @@ PLATFORM_DEFS += \
|
|||
-DWITH_HFSNIFF
|
||||
|
||||
# Standalone mode
|
||||
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)
|
||||
|
||||
$(info $(findstring WITH_STANDALONE_*,$(PLATFORM_DEFS)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue