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
|
@ -105,7 +105,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c
|
|||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@
|
||||
|
||||
ifdef APP_TYPE
|
||||
PLUGINLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile
|
||||
PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map
|
||||
PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
|
||||
else
|
||||
PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue