[PATCH] tools/power/x86/intel-speed-select: clean all the produced files
From: Jiri Slaby (SUSE)
Date: Tue Sep 08 2026 - 02:51:48 EST
1) The commit 7d440da009b6 ("tools/power/x86/intel-speed-select: HFI
support") added the thermal.h link, but did not remove it up on
cleanup. Do so.
2) .*.cmd files were never deleted, so were left dangling. Clean them up
too.
3) The "*.d" pattern was updated:
a) the backslash was superfluous,
b) it was made more explicit by specifying ".o" in ".*.o.d".
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
Cc: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
---
Cc: platform-driver-x86@xxxxxxxxxxxxxxx
---
tools/power/x86/intel-speed-select/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
index 6b299aae2ded..6f896f40c1a8 100644
--- a/tools/power/x86/intel-speed-select/Makefile
+++ b/tools/power/x86/intel-speed-select/Makefile
@@ -52,8 +52,8 @@ $(OUTPUT)intel-speed-select: $(ISST_IN)
clean:
rm -f $(ALL_PROGRAMS)
- rm -rf $(OUTPUT)include/linux/isst_if.h
- find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
+ rm -rf $(OUTPUT)include/linux/isst_if.h $(OUTPUT)include/linux/thermal.h
+ find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '.*.o.d' -delete -o -name '.*.o.cmd' -delete
install: $(ALL_PROGRAMS)
install -d -m 755 $(DESTDIR)$(bindir); \
--
2.55.0