[PATCH 12/31] sandbox: Drop dead code from Makefile

Simon Glass sjg at chromium.org
Tue Apr 25 01:08:17 CEST 2023


This is not used, since the same code appears in cpu/Makefile

Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/Makefile | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index a335f8acfde6..f6cf859f249c 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -4,10 +4,3 @@ head-y := arch/sandbox/cpu/start.o arch/sandbox/cpu/os.o
 head-$(CONFIG_SANDBOX_SDL) += arch/sandbox/cpu/sdl.o
 libs-y += arch/sandbox/cpu/
 libs-y += arch/sandbox/lib/
-
-# sdl.c fails to compile with -fshort-wchar using musl.
-cmd_cc_sdl.o = $(CC) $(filter-out -nostdinc -fshort-wchar, \
-	$(patsubst -I%,-idirafter%,$(c_flags))) -fno-lto -c -o $@ $<
-
-$(obj)/sdl.o: $(src)/sdl.c FORCE
-	$(call if_changed_dep,cc_sdl.o)
-- 
2.40.0.634.g4ca3ef3211-goog



More information about the U-Boot mailing list