diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-17 15:08:08 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-21 18:39:19 +0100 |
commit | 6d19275876bf8a92d966e1b64d433a7edabb3a91 (patch) | |
tree | eac92abac2a8fe698f64ae715005f475633c2355 | |
parent | 856bb420377d4c39abcdf274d79e8f064fe33e86 (diff) | |
download | rockbox-6d19275876bf8a92d966e1b64d433a7edabb3a91.tar.gz rockbox-6d19275876bf8a92d966e1b64d433a7edabb3a91.zip |
Hosted: Output map files after linking.
Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
-rw-r--r-- | android/android.make | 2 | ||||
-rw-r--r-- | apps/codecs/codecs.make | 2 | ||||
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.make | 2 | ||||
-rw-r--r-- | apps/plugins/plugins.make | 2 | ||||
-rw-r--r-- | uisimulator/uisimulator.make | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/android/android.make b/android/android.make index 6180ef64da..a62c47e188 100644 --- a/android/android.make +++ b/android/android.make | |||
@@ -115,7 +115,7 @@ classes: $(R_OBJ) $(JAVA_OBJ) | |||
115 | 115 | ||
116 | 116 | ||
117 | $(BUILDDIR)/$(BINARY): $$(OBJ) $(VOICESPEEXLIB) $(FIRMLIB) $(SKINLIB) $(CPUFEAT_BUILD)/cpu-features.o | 117 | $(BUILDDIR)/$(BINARY): $$(OBJ) $(VOICESPEEXLIB) $(FIRMLIB) $(SKINLIB) $(CPUFEAT_BUILD)/cpu-features.o |
118 | $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) $(GLOBAL_LDOPTS) | 118 | $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) $(GLOBAL_LDOPTS) -Wl,-Map,$(BUILDDIR)/rockbox.map |
119 | $(call PRINTS,OC $(@F))$(OC) -S -x $@ | 119 | $(call PRINTS,OC $(@F))$(OC) -S -x $@ |
120 | 120 | ||
121 | $(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY) | 121 | $(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY) |
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make index e18b92c1f0..ffa21a39db 100644 --- a/apps/codecs/codecs.make +++ b/apps/codecs/codecs.make | |||
@@ -186,7 +186,7 @@ $(CODECDIR)/%.o: $(ROOTDIR)/apps/codecs/%.S | |||
186 | -I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@ | 186 | -I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@ |
187 | 187 | ||
188 | ifdef APP_TYPE | 188 | ifdef APP_TYPE |
189 | CODECLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile | 189 | CODECLDFLAGS = $(SHARED_LDFLAG) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map |
190 | CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile | 190 | CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile |
191 | else | 191 | else |
192 | CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map | 192 | CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map |
diff --git a/apps/plugins/imageviewer/imageviewer.make b/apps/plugins/imageviewer/imageviewer.make index 8f933e3046..f5bd6c0122 100644 --- a/apps/plugins/imageviewer/imageviewer.make +++ b/apps/plugins/imageviewer/imageviewer.make | |||
@@ -32,7 +32,7 @@ ifndef APP_TYPE | |||
32 | IMGDEC_OUTLDS = $(IMGVBUILDDIR)/%.link | 32 | IMGDEC_OUTLDS = $(IMGVBUILDDIR)/%.link |
33 | IMGDEC_OVLFLAGS = -T$(IMGVBUILDDIR)/$*.link -Wl,--gc-sections -Wl,-Map,$(IMGVBUILDDIR)/$*.map | 33 | IMGDEC_OVLFLAGS = -T$(IMGVBUILDDIR)/$*.link -Wl,--gc-sections -Wl,-Map,$(IMGVBUILDDIR)/$*.map |
34 | else | 34 | else |
35 | IMGDEC_OVLFLAGS = $(PLUGINLDFLAGS) | 35 | IMGDEC_OVLFLAGS = $(PLUGINLDFLAGS) -Wl,-Map,$(IMGVBUILDDIR)/$*.map |
36 | endif | 36 | endif |
37 | 37 | ||
38 | $(IMGVBUILDDIR)/%.ovl: $(IMGDEC_OUTLDS) | 38 | $(IMGVBUILDDIR)/%.ovl: $(IMGDEC_OUTLDS) |
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index 1bf78d82c1..76cdea63f0 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make | |||
@@ -105,7 +105,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c | |||
105 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ | 105 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ |
106 | 106 | ||
107 | ifdef APP_TYPE | 107 | ifdef APP_TYPE |
108 | PLUGINLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile | 108 | PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map |
109 | PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile | 109 | PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile |
110 | else | 110 | else |
111 | PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map | 111 | PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map |
diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make index d30a9db9ae..03bf9da2bd 100644 --- a/uisimulator/uisimulator.make +++ b/uisimulator/uisimulator.make | |||
@@ -31,7 +31,8 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP) | |||
31 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null | 31 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |
32 | 32 | ||
33 | $(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB) $(SKINLIB) | 33 | $(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB) $(SKINLIB) |
34 | $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) | 34 | $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) \ |
35 | -Wl,-Map,$(BUILDDIR)/rockbox.map | ||
35 | 36 | ||
36 | $(BUILDDIR)/uisimulator/%.o: $(ROOTDIR)/uisimulator/%.c | 37 | $(BUILDDIR)/uisimulator/%.o: $(ROOTDIR)/uisimulator/%.c |
37 | $(SILENT)mkdir -p $(dir $@) | 38 | $(SILENT)mkdir -p $(dir $@) |