mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
CHG: 'emv compilation' since the client makefile doesn't import makefile.common anymore, need to move some compilor directive. Now need to change two files for EMV compilation.
* client/Makefile * common/Makefile.common
This commit is contained in:
parent
28f1f23d48
commit
14550557be
4 changed files with 6 additions and 11 deletions
|
@ -86,19 +86,13 @@ ARMSRC = fpgaloader.c \
|
||||||
$(SRC_ISO14443a) \
|
$(SRC_ISO14443a) \
|
||||||
$(SRC_ISO14443b) \
|
$(SRC_ISO14443b) \
|
||||||
$(SRC_CRAPTO1) \
|
$(SRC_CRAPTO1) \
|
||||||
|
$(SRC_ICLASS) \
|
||||||
|
$(SRC_EMV) \
|
||||||
$(SRC_CRC) \
|
$(SRC_CRC) \
|
||||||
parity.c \
|
parity.c \
|
||||||
usb_cdc.c \
|
usb_cdc.c \
|
||||||
cmd.c
|
cmd.c
|
||||||
|
|
||||||
ifneq ($(WITH_ICLASS),"")
|
|
||||||
ARMSRC += $(SRC_ICLASS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(WITH_EMV),"")
|
|
||||||
ARMSRC += $(SRC_EMV)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC
|
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC
|
||||||
include ../common/Makefile.common
|
include ../common/Makefile.common
|
||||||
|
|
||||||
|
|
|
@ -243,7 +243,6 @@ extern void EMVFuzz_RATS(uint8_t ratslen, uint8_t* RATS);
|
||||||
extern void EMVReadRecord(uint8_t arg0, uint8_t arg1,emvcard* inputcard);
|
extern void EMVReadRecord(uint8_t arg0, uint8_t arg1,emvcard* inputcard);
|
||||||
extern void EMVSelectPPSE();
|
extern void EMVSelectPPSE();
|
||||||
extern void EMVSelectAID(uint8_t *AID, uint8_t AIDlen, emvcard* inputcard);
|
extern void EMVSelectAID(uint8_t *AID, uint8_t AIDlen, emvcard* inputcard);
|
||||||
extern void EMVTransaction();
|
|
||||||
extern void EMVClone(uint8_t maxsfi, uint8_t maxrecord);
|
extern void EMVClone(uint8_t maxsfi, uint8_t maxrecord);
|
||||||
extern void EMVSim();
|
extern void EMVSim();
|
||||||
extern void EMVTest();
|
extern void EMVTest();
|
||||||
|
|
|
@ -13,6 +13,9 @@ RM = rm -f
|
||||||
MV = mv
|
MV = mv
|
||||||
|
|
||||||
#COMMON_FLAGS = -m32
|
#COMMON_FLAGS = -m32
|
||||||
|
# uncomment to enable EMV
|
||||||
|
#COMMON_FLAGS += -DWITH_EMV
|
||||||
|
|
||||||
VPATH = ../common ../zlib ../uart
|
VPATH = ../common ../zlib ../uart
|
||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
|
|
||||||
|
|
|
@ -60,8 +60,7 @@ DETECTED_OS=Windows
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# uncomment these two; to enable EMV
|
# uncomment these two; to enable EMV
|
||||||
#APP_CFLAGS += -DWITH_EMV
|
APP_CFLAGS += -DWITH_EMV
|
||||||
#COMMON_FLAGS += -DWITH_EMV
|
|
||||||
|
|
||||||
# uncomment these two; to fix 256 vs 512kb PM3 devices
|
# uncomment these two; to fix 256 vs 512kb PM3 devices
|
||||||
# flashing bootrom -b is needed
|
# flashing bootrom -b is needed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue