aboutsummaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2011-11-03 04:21:47 +0000
committerDimitri Sokolyuk <demon@dim13.org>2011-11-03 04:21:47 +0000
commite9ddb56212bf7e2edc7dd6c15e8ea2517635252b (patch)
treea49d30e5d5a1265247d6cf8dd798684df89e38dd /firmware/Makefile
parentbd081e78d9333439e51860dc66177191bcae8e5b (diff)
add missing arch to linker
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 46df110..d672f8a 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -17,7 +17,8 @@ SIZE= avr-size
CFLAGS= -Wall -Os -mmcu=${MCU_TARGET} \
-DF_CPU=${F_CPU} -DPRESCALE=${PRESCALE} -DBAUD=${BAUD}
-LDFLAGS= -Wl,-Map,${PROG}.map,--section-start=.text=${ORG}
+LDFLAGS= -mmcu=${MCU_TARGET} \
+ -Wl,-Map,${PROG}.map,--section-start=.text=${ORG}
.SUFFIXES: .lst .hex .bin .srec .ehex .ebin .esrec