From b1df63afb0746f82ef666cb0184dfd45a2f7465a Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 25 Nov 2025 09:36:01 +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 master commit: 774c382b28bf6e6e29f9c8b0a2bbf65c0fc71d4f master date: 2025-11-13 09:08:27 +0100 --- 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 3f57ac6159..2228a8591a 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