mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Merge remote-tracking branch 'fl0/Makefile_platform_STANDALONE'
* fl0/Makefile_platform_STANDALONE: Spelling & default LF_SAMYRUN example using saved STANDALONE print Makefile platform option for standalone mode
This commit is contained in:
commit
6888a0f7f2
3 changed files with 24 additions and 8 deletions
3
Makefile
3
Makefile
|
@ -33,6 +33,9 @@ ifeq ($(PLATFORM),)
|
|||
ifneq ($(PLATFORM_EXTRAS),)
|
||||
${info using saved PLATFORM_EXTRAS: '$(PLATFORM_EXTRAS)'}
|
||||
endif
|
||||
ifneq ($(STANDALONE),)
|
||||
${info using saved STANDALONE: '$(STANDALONE)'}
|
||||
endif
|
||||
endif
|
||||
|
||||
include common/Makefile.hal
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
|
||||
PLATFORM=PM3RDV4
|
||||
#PLATFORM_EXTRAS=BTADDON
|
||||
#STANDALONE=LF_SAMYRUN
|
||||
|
|
|
@ -33,6 +33,9 @@ or if you have a Proxmark 3 RDV4 with the BT add-on:
|
|||
PLATFORM=PM3RDV4
|
||||
PLATFORM_EXTRAS=BTADDON
|
||||
|
||||
Option to choose standalone mode, e.g. LF_SAMYRUN
|
||||
STANDALONE=LF_SAMYRUN
|
||||
|
||||
!! Make sure to "make clean" when you change platform settings !!
|
||||
|
||||
endef
|
||||
|
@ -93,14 +96,23 @@ PLATFORM_DEFS += \
|
|||
|
||||
# Standalone mode
|
||||
# !! Choose only one !!
|
||||
PLATFORM_DEFS += -DWITH_STANDALONE_LF_SAMYRUN
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_ICERUN
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_PROXBRUTE
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_LF_HIDBRUTE
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_YOUNG
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_MATTYRUN
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_COLIN
|
||||
#PLATFORM_DEFS += -DWITH_STANDALONE_HF_BOG
|
||||
ifneq (,$(findstring LF_ICERUN,$(STANDALONE)))
|
||||
PLATFORM_DEFS += -DWITH_STANDALONE_LF_ICERUN
|
||||
else ifneq (,$(findstring LF_PROXBRUTE,$(STANDALONE)))
|
||||
PLATFORM_DEFS += -DWITH_STANDALONE_LF_PROXBRUTE
|
||||
else ifneq (,$(findstring LF_HIDBRUTE,$(STANDALONE)))
|
||||
PLATFORM_DEFS += -DWITH_STANDALONE_LF_HIDBRUTE
|
||||
else ifneq (,$(findstring HF_YOUNG,$(STANDALONE)))
|
||||
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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue