diff options
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r-- | apps/plugins/midi/midi.make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/midi/midi.make b/apps/plugins/midi/midi.make index 9100764974..93b6ead3b1 100644 --- a/apps/plugins/midi/midi.make +++ b/apps/plugins/midi/midi.make | |||
@@ -21,8 +21,13 @@ OTHER_SRC += $(MIDI_SRC) | |||
21 | $(MIDIBUILDDIR)/midi.rock: $(MIDI_OBJ) | 21 | $(MIDIBUILDDIR)/midi.rock: $(MIDI_OBJ) |
22 | # for some reason, this doesn't match the implicit rule in plugins.make, | 22 | # for some reason, this doesn't match the implicit rule in plugins.make, |
23 | # so we have to duplicate the link command here | 23 | # so we have to duplicate the link command here |
24 | $(call PRINTS,LD $(@F)) | ||
24 | $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ | 25 | $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ |
25 | $(filter %.o, $^) \ | 26 | $(filter %.o, $^) \ |
26 | $(filter %.a, $^) \ | 27 | $(filter %.a, $^) \ |
27 | -lgcc $(PLUGINLDFLAGS) | 28 | -lgcc $(PLUGINLDFLAGS) |
28 | $(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@ | 29 | ifdef SIMVER |
30 | $(SILENT)cp $*.elf $@ | ||
31 | else | ||
32 | $(SILENT)$(OC) -O binary $*.elf $@ | ||
33 | endif | ||