forked from len0rd/rockbox
Hosted: Output map files after linking.
Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
This commit is contained in:
parent
856bb42037
commit
6d19275876
5 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue