From 2053bba56158894bd86e41a645a86764e16d6a3c Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 3 May 2026 12:57:21 +0100 Subject: [PATCH] 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 --- apps/plugins/sdl/sdl.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/sdl/sdl.make b/apps/plugins/sdl/sdl.make index 37b98fa2ac..f04f727aa7 100644 --- a/apps/plugins/sdl/sdl.make +++ b/apps/plugins/sdl/sdl.make @@ -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