summaryrefslogtreecommitdiff
path: root/apps/codecs/codecs.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/codecs.make')
-rw-r--r--apps/codecs/codecs.make8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make
index f2d2f13794..3e4ec3aa5f 100644
--- a/apps/codecs/codecs.make
+++ b/apps/codecs/codecs.make
@@ -202,10 +202,4 @@ $(CODECDIR)/%.codec: $(CODECDIR)/%.o
202 $(filter %.o, $^) \ 202 $(filter %.o, $^) \
203 $(filter %.a, $+) \ 203 $(filter %.a, $+) \
204 -lgcc $(CODECLDFLAGS) 204 -lgcc $(CODECLDFLAGS)
205ifndef APP_TYPE 205 $(SILENT)$(call objcopy,$(CODECDIR)/$*.elf,$@)
206 $(SILENT)$(OC) -O binary $(CODECDIR)/$*.elf $@ # objcopy native
207else ifeq (,$(findstring sdl-sim,$(APP_TYPE)))
208 $(SILENT)$(OC) -S -x $(CODECDIR)/$*.elf $@ # objcopy hosted
209else
210 $(SILENT)cp $(CODECDIR)/$*.elf $@ # no objcopy, keep debug symbols
211endif