summaryrefslogtreecommitdiffstats
path: root/apps/plugins/plugins.make
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/plugins/plugins.make
parentc6b3d38a156dd624760a8eb1bb374affd43b4f2a (diff)
downloadrockbox-838c74f79d69eec2d71e0af0fdbecbb4cac86637.tar.gz
rockbox-838c74f79d69eec2d71e0af0fdbecbb4cac86637.tar.bz2
rockbox-838c74f79d69eec2d71e0af0fdbecbb4cac86637.zip
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/plugins/plugins.make')
-rw-r--r--apps/plugins/plugins.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 2e266cb190..bb77f7de6c 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -73,4 +73,8 @@ $(BUILDDIR)/%.rock: $(BUILDDIR)/%.o $(PLUGINLINK_LDS)
$(filter %.o, $^) \
$(filter %.a, $^) \
-lgcc $(PLUGINLDFLAGS)
+ifdef SIMVER
+ $(SILENT)$(shell cp $(BUILDDIR)/$*.elf $@)
+else
$(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@
+endif \ No newline at end of file