From 36fceeb1b902ab5212ebda61b3293aea030f0dc8 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Tue, 24 Aug 2010 23:01:59 +0000 Subject: [PATCH] map file is created again during map avr build --- defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.mk b/defaults.mk index 3fb73d6..b276d68 100644 --- a/defaults.mk +++ b/defaults.mk @@ -22,7 +22,7 @@ CFLAGS ?= -Wall -W -Wno-unused-parameter -Wno-sign-compare CFLAGS += -g -Os -std=gnu99 -fgnu89-inline -DNDEBUG # flags for the linker -LDFLAGS += -T ./avr5.x -mmcu=$(MCU) +LDFLAGS += -T ./avr5.x -Wl,-Map,image.map -mmcu=$(MCU) #############################################################################