aboutsummaryrefslogtreecommitdiff
path: root/makefiles/toolchain_gnu-arm-eabi.mk
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-05-23 23:58:25 +0200
committerpx4dev <px4@purgatory.org>2013-05-23 23:58:25 +0200
commit318d2baba013c946401f0b1879b02c19b6b03aae (patch)
treed44020e3bddfc227c72fc0d8bcb341f2f1100372 /makefiles/toolchain_gnu-arm-eabi.mk
parentdca844a808643131ee299a46a7cb82aea933822f (diff)
downloadpx4-firmware-318d2baba013c946401f0b1879b02c19b6b03aae.tar.gz
px4-firmware-318d2baba013c946401f0b1879b02c19b6b03aae.tar.bz2
px4-firmware-318d2baba013c946401f0b1879b02c19b6b03aae.zip
Reinstate mapfile generation.
Diffstat (limited to 'makefiles/toolchain_gnu-arm-eabi.mk')
-rw-r--r--makefiles/toolchain_gnu-arm-eabi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/toolchain_gnu-arm-eabi.mk b/makefiles/toolchain_gnu-arm-eabi.mk
index 874e7154c..74f6b2a89 100644
--- a/makefiles/toolchain_gnu-arm-eabi.mk
+++ b/makefiles/toolchain_gnu-arm-eabi.mk
@@ -235,7 +235,7 @@ endef
define LINK
@$(ECHO) "LINK: $1"
@$(MKDIR) -p $(dir $1)
- $(Q) $(LD) $(LDFLAGS) -o $1 --start-group $2 $(LIBS) $(EXTRA_LIBS) $(LIBGCC) --end-group
+ $(Q) $(LD) $(LDFLAGS) -Map $1.map -o $1 --start-group $2 $(LIBS) $(EXTRA_LIBS) $(LIBGCC) --end-group
endef
# Convert $1 from a linked object to a raw binary in $2