From 774c382b28bf6e6e29f9c8b0a2bbf65c0fc71d4f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 13 Nov 2025 09:08:27 +0100 Subject: [PATCH] x86emul/test: extend cleaning of generated files Many *.c files are symlinked while building, so along with generated *.h files they ought to be removed. Conversely $(TARGET) doesn't need removing twice. Fixes: cb4fcf70b2f3 ("x86emul: parallelize SIMD test code building") Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- tools/tests/x86_emulator/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests/x86_emulator/Makefile index 34f48d83b3..fefa29a06c 100644 --- a/tools/tests/x86_emulator/Makefile +++ b/tools/tests/x86_emulator/Makefile @@ -261,7 +261,8 @@ $(TARGET): $(OBJS) .PHONY: clean clean: rm -rf $(TARGET) *.o *~ core *.bin x86_emulate - rm -rf $(TARGET) $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK)) + rm -rf $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK)) + rm -rf $(addsuffix .c,$(filter-out blowfish,$(TESTCASES))) .PHONY: distclean distclean: clean