make: allow building flat binary plugins on USE_ELF targets (attempt 2)

Looks like I forgot to test the hosted builds and for some
reason thought that make would expand objcopy recursively...

Change-Id: I61264eadcb1235660566f6a9f19f8718ebe14583
This commit is contained in:
Aidan MacDonald 2026-02-04 15:06:58 +00:00
parent ebd273832d
commit 653bca7ff4
13 changed files with 20 additions and 13 deletions

View file

@ -245,4 +245,4 @@ $(CODECDIR)/%.codec: $(CODECDIR)/%.o
$(filter %.o, $^) \
$(filter %.a, $+) \
-lgcc $(CODECLDFLAGS)
$(SILENT)$(call objcopy,$(CODECDIR)/$*.elf,$@)
$(SILENT)$(call objcopy_plugin,$(CODECDIR)/$*.elf,$@)