summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-04-04 21:43:22 +0200
committerThomas Martitz <kugel@rockbox.org>2012-04-04 21:48:19 +0200
commit4b56ee048a950eb8190abec3f8dc8b7a9b6e8946 (patch)
tree5f7275d75c32831531963c6fecf64dbcad250efa /android
parenta54072e2992ad8b6fccdaf8e8062f37c53743be8 (diff)
downloadrockbox-4b56ee048a950eb8190abec3f8dc8b7a9b6e8946.tar.gz
rockbox-4b56ee048a950eb8190abec3f8dc8b7a9b6e8946.tar.bz2
rockbox-4b56ee048a950eb8190abec3f8dc8b7a9b6e8946.zip
Refactor and unify objcopy calls in the build system. Also now properly handles DEBUG builds on hosted targets to keep debug symbols if necessary.
Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
Diffstat (limited to 'android')
-rw-r--r--android/android.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/android.make b/android/android.make
index dfbc64ef6e..b1f8588c93 100644
--- a/android/android.make
+++ b/android/android.make
@@ -116,7 +116,7 @@ classes: $(R_OBJ) $(JAVA_OBJ)
$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(VOICESPEEXLIB) $(CORE_LIBS) $(CPUFEAT_BUILD)/cpu-features.o
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) $(GLOBAL_LDOPTS) -Wl,-Map,$(BUILDDIR)/rockbox.map
- $(call PRINTS,OC $(@F))$(OC) -S -x $@
+ $(call PRINTS,OC $(@F))$(call objcopy,$@,$@)
$(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY)
$(call PRINTS,CP $(BINARY))cp $^ $@