summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/codecs.make7
-rw-r--r--apps/plugins/plugins.make4
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make
index a65dc4f..b31958a 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
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 2e266cb..bb77f7d 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