From ed55e9aec4739dcc8d477a2363abd0fb2d5d7241 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 13 Feb 2017 11:05:03 +0100 Subject: [PATCH] chg: trying to generalize the EMV build. --- common/Makefile.common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/Makefile.common b/common/Makefile.common index 477cd6a3..964129b9 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -59,8 +59,10 @@ DETECTED_OS=Windows endif +#uncomment to enable EMV +#APP_CFLAGS += -DWITH_EMV +#uncomment to fix 256 vs 512kb Devices APP_CFLAGS += -DHAS_512_FLASH - # Also search prerequisites in the common directory (for usb.c), the fpga directory (for fpga.bit), and the zlib directory VPATH = . ../common ../fpga ../zlib @@ -68,7 +70,6 @@ INCLUDES = ../include/proxmark3.h ../include/at91sam7s512.h ../include/config_gp CFLAGS = -c $(INCLUDE) -Wall -Werror -pedantic -Wunused -std=c99 $(APP_CFLAGS) -Os LDFLAGS = -nostartfiles -nodefaultlibs -Wl,-gc-sections -n - LIBS = -lgcc THUMBOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(THUMBSRC))) -- 2.39.2