summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a65dc4f67e..b31958a088 100644
--- a/apps/codecs/codecs.make
+++ b/apps/codecs/codecs.make
@@ -98,6 +98,9 @@ $(CODECDIR)/%.codec: $(CODECDIR)/%.o
98 $(filter %.o, $^) \ 98 $(filter %.o, $^) \
99 $(filter %.a, $^) \ 99 $(filter %.a, $^) \
100 -lgcc $(CODECLDFLAGS) 100 -lgcc $(CODECLDFLAGS)
101 $(call PRINTS,OC $(@F))$(OC) -O binary $(CODECDIR)/$*.elf $@ 101ifdef SIMVER
102 102 $(SILENT)$(shell cp $(BUILDDIR)/$*.elf $@)
103else
104 $(SILENT)$(OC) -O binary $(CODECDIR)/$*.elf $@
105endif
103 106
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)
73 $(filter %.o, $^) \ 73 $(filter %.o, $^) \
74 $(filter %.a, $^) \ 74 $(filter %.a, $^) \
75 -lgcc $(PLUGINLDFLAGS) 75 -lgcc $(PLUGINLDFLAGS)
76ifdef SIMVER
77 $(SILENT)$(shell cp $(BUILDDIR)/$*.elf $@)
78else
76 $(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@ 79 $(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@
80endif \ No newline at end of file