makefiles: fix duke3d overlay not using objcopy_plugin

This should use $(call objcopy_plugin) in order to
generate the correct binary format on platforms where
the plugin binary format differs from the main binary
format (ie. STM32).

Change-Id: I027cc74e3c5d55b9a3538f4f16c3fd5ece25a4b5
This commit is contained in:
Aidan MacDonald 2026-05-03 12:57:21 +01:00
parent 30adfbf5c9
commit 2053bba561

View file

@ -78,7 +78,7 @@ $(SDL_OBJDIR)/duke3d.ovl: $(SDL_OBJ) $(DUKE3D_OBJ) $(TLSFLIB) $(DUKE3D_OUTLDS)
$(filter %.o, $^) \
$(filter %.a, $+) \
-lgcc -T$(DUKE3D_OUTLDS) $(SDL_OVLFLAGS)
$(call PRINTS,LD $(@F))$(call objcopy,$(basename $@).elf,$@)
$(call PRINTS,LD $(@F))$(call objcopy_plugin,$(basename $@).elf,$@)
# Wolf3D