1
0
Fork 0
forked from len0rd/rockbox

Hosted: Output map files after linking.

Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
This commit is contained in:
Thomas Martitz 2012-01-17 15:08:08 +01:00
parent 856bb42037
commit 6d19275876
5 changed files with 6 additions and 5 deletions

View file

@ -186,7 +186,7 @@ $(CODECDIR)/%.o: $(ROOTDIR)/apps/codecs/%.S
-I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@
ifdef APP_TYPE
CODECLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile
CODECLDFLAGS = $(SHARED_LDFLAG) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map
CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
else
CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map