X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bd20f8f47847787e1f3e933043933272908c5beb..24b182d01b2ede6d4689db9d947d21fdf8e5dfd9:/bootrom/Makefile?ds=sidebyside diff --git a/bootrom/Makefile b/bootrom/Makefile index a3374b0c..0f661a8f 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -7,7 +7,7 @@ #----------------------------------------------------------------------------- # DO NOT use thumb mode in the phase 1 bootloader since that generates a section with glue code -ARMSRC = fromflash.c +ARMSRC = THUMBSRC = usb.c bootrom.c ASMSRC = ram-reset.s flash-reset.s @@ -27,7 +27,7 @@ include ../common/Makefile.common all: $(OBJDIR)/bootrom.s19 $(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) - $(LD) -g -Tldscript-flash --oformat elf32-littlearm -Map=$(patsubst %.elf,%.map,$@) -o $@ $^ + $(CC) $(LDFLAGS) -Wl,-T,ldscript-flash,-Map,$(patsubst %.elf,%.map,$@) -o $@ $^ $(LIBS) clean: $(DELETE) $(OBJDIR)$(PATHSEP)*.o