diff options
Diffstat (limited to 'apps/codecs/codecs.make')
| -rw-r--r-- | apps/codecs/codecs.make | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make index f2d2f13..3e4ec3a 100644 --- a/apps/codecs/codecs.make +++ b/apps/codecs/codecs.make @@ -202,10 +202,4 @@ $(CODECDIR)/%.codec: $(CODECDIR)/%.o $(filter %.o, $^) \ $(filter %.a, $+) \ -lgcc $(CODECLDFLAGS) -ifndef APP_TYPE - $(SILENT)$(OC) -O binary $(CODECDIR)/$*.elf $@ # objcopy native -else ifeq (,$(findstring sdl-sim,$(APP_TYPE))) - $(SILENT)$(OC) -S -x $(CODECDIR)/$*.elf $@ # objcopy hosted -else - $(SILENT)cp $(CODECDIR)/$*.elf $@ # no objcopy, keep debug symbols -endif + $(SILENT)$(call objcopy,$(CODECDIR)/$*.elf,$@) |