build(desfire): make emulator test hook optional
Exclude the USB test dispatcher and queued-random support from normal firmware builds. Enable them with ENABLE_HFMFDESETEST=1 when running emulator vectors. Co-Authored-By: GPT-Daybreak Blue <noreply@openai.com>
This commit is contained in:
1 parent
50f6b76469
commit
957896a926
6 files changed
+26
No files matched your search
@@ -196,6 +196,10 @@ else
|
||||
$(error Invalid or empty PLATFORM: $(PLATFORM). $(KNOWN_DEFINITIONS))
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_HFMFDESETEST),1)
|
||||
PLATFORM_DEFS += -DENABLE_HFMFDESETEST
|
||||
endif
|
||||
|
||||
# parsing additional PLATFORM_EXTRAS tokens
|
||||
PLATFORM_EXTRAS_TMP:=$(PLATFORM_EXTRAS)
|
||||
ifneq (,$(findstring SMARTCARD,$(PLATFORM_EXTRAS_TMP)))
|
||||
|
||||
Reference in new issue
Block a user