Makefile platform option for standalone mode
Signed-off-by: Fl0-0 <tonymontana277@hotmail.fr>
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
|
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
|
||||||
PLATFORM=PM3RDV4
|
PLATFORM=PM3RDV4
|
||||||
#PLATFORM_EXTRAS=BTADDON
|
#PLATFORM_EXTRAS=BTADDON
|
||||||
|
#STANDALONE=HF_COLIN
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ or if you have a Proxmark 3 RDV4 with the BT add-on:
|
|||||||
PLATFORM=PM3RDV4
|
PLATFORM=PM3RDV4
|
||||||
PLATFORM_EXTRAS=BTADDON
|
PLATFORM_EXTRAS=BTADDON
|
||||||
|
|
||||||
|
Option to choose standalone mode, e.g. HF_COLIN
|
||||||
|
SANDALONE=HF_COLIN
|
||||||
|
|
||||||
!! Make sure to "make clean" when you change platform settings !!
|
!! Make sure to "make clean" when you change platform settings !!
|
||||||
|
|
||||||
endef
|
endef
|
||||||
@@ -93,14 +96,23 @@ PLATFORM_DEFS += \
|
|||||||
|
|
||||||
# Standalone mode
|
# Standalone mode
|
||||||
# !! Choose only one !!
|
# !! Choose only one !!
|
||||||
PLATFORM_DEFS += -DWITH_STANDALONE_LF_SAMYRUN
|
ifneq (,$(findstring LF_ICERUN,$(STANDALONE)))
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_ICERUN
|
PLATFORM_DEFS += -DWITH_STANDALONE_LF_ICERUN
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_PROXBRUTE
|
else ifneq (,$(findstring LF_PROXBRUTE,$(STANDALONE)))
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_HIDBRUTE
|
PLATFORM_DEFS += -DWITH_STANDALONE_LF_PROXBRUTE
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_YOUNG
|
else ifneq (,$(findstring LF_HIDBRUTE,$(STANDALONE)))
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_MATTYRUN
|
PLATFORM_DEFS += -DWITH_STANDALONE_LF_HIDBRUTE
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_COLIN
|
else ifneq (,$(findstring HF_YOUNG,$(STANDALONE)))
|
||||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_BOG
|
PLATFORM_DEFS += -DWITH_STANDALONE_HF_YOUNG
|
||||||
|
else ifneq (,$(findstring HF_MATTYRUN,$(STANDALONE)))
|
||||||
|
PLATFORM_DEFS += -DWITH_STANDALONE_HF_MATTYRUN
|
||||||
|
else ifneq (,$(findstring HF_COLIN,$(STANDALONE)))
|
||||||
|
PLATFORM_DEFS += -DWITH_STANDALONE_HF_COLIN
|
||||||
|
else ifneq (,$(findstring HF_BOG,$(STANDALONE)))
|
||||||
|
PLATFORM_DEFS += -DWITH_STANDALONE_HF_BOG
|
||||||
|
else
|
||||||
|
PLATFORM_DEFS += -DWITH_STANDALONE_LF_SAMYRUN
|
||||||
|
endif
|
||||||
|
|
||||||
$(info $(findstring WITH_STANDALONE_*,$(PLATFORM_DEFS)))
|
$(info $(findstring WITH_STANDALONE_*,$(PLATFORM_DEFS)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user