summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-20 12:09:36 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-20 12:09:36 +0000
commit838c74f79d69eec2d71e0af0fdbecbb4cac86637 (patch)
tree0b9fae603bd054bc0c688f9e27eee9b66f1ed7e6 /apps/codecs
parentc6b3d38a156dd624760a8eb1bb374affd43b4f2a (diff)
Bug fix for simulator: Plugins and codecs were objcopied isntead of left as ELF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19147 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/codecs.make7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make
index a65dc4f67e..b31958a088 100644
--- a/apps/codecs/codecs.make
+++ b/apps/codecs/codecs.make
@@ -98,6 +98,9 @@ $(CODECDIR)/%.codec: $(CODECDIR)/%.o
$(filter %.o, $^) \
$(filter %.a, $^) \
-lgcc $(CODECLDFLAGS)
- $(call PRINTS,OC $(@F))$(OC) -O binary $(CODECDIR)/$*.elf $@
-
+ifdef SIMVER
+ $(SILENT)$(shell cp $(BUILDDIR)/$*.elf $@)
+else
+ $(SILENT)$(OC) -O binary $(CODECDIR)/$*.elf $@
+endif