From: Max Filippov Date: Tue, 14 Mar 2023 21:52:19 +0000 (-0700) Subject: tests/tcg/xtensa: add linker.ld to CLEANFILES X-Git-Tag: v8.0.0-rc1~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5161dba859915be3d328a31fe015a27997442640;p=thirdparty%2Fqemu.git tests/tcg/xtensa: add linker.ld to CLEANFILES Linker script for xtensa tests must be preprocessed for a specific target, remove it as a part of make clean. Fixes: be5cac175a ("tests/tcg/xtensa: enable system tests") Signed-off-by: Max Filippov Reviewed-by: Wilfred Mallawa Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/tests/tcg/xtensa/Makefile.softmmu-target b/tests/tcg/xtensa/Makefile.softmmu-target index 973e55298ee..948c0e6506b 100644 --- a/tests/tcg/xtensa/Makefile.softmmu-target +++ b/tests/tcg/xtensa/Makefile.softmmu-target @@ -26,6 +26,7 @@ ASFLAGS = -Wa,--no-absolute-literals LDFLAGS = -Tlinker.ld -nostartfiles -nostdlib CRT = crt.o vectors.o +CLEANFILES += linker.ld linker.ld: linker.ld.S $(CC) $(XTENSA_INC) -E -P $< -o $@