Browse Source

Hotfix: Generate map files for modules as well for more in-depth memory-use debugging.

sbg
px4dev 12 years ago
parent
commit
eab01a2efd
  1. 2
      makefiles/toolchain_gnu-arm-eabi.mk

2
makefiles/toolchain_gnu-arm-eabi.mk

@ -219,7 +219,7 @@ endef @@ -219,7 +219,7 @@ endef
define PRELINK
@$(ECHO) "PRELINK: $1"
@$(MKDIR) -p $(dir $1)
$(Q) $(LD) -Ur -o $1 $2 && $(OBJCOPY) --localize-hidden $1
$(Q) $(LD) -Ur -Map $1.map -o $1 $2 && $(OBJCOPY) --localize-hidden $1
endef
# Update the archive $1 with the files in $2

Loading…
Cancel
Save