mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tools/power/x86/intel-speed-select: Clean up more build artifacts in 'clean' target
@ 2026-09-01  9:36 zhangjiao2
  2026-09-08  7:39 ` Jiri Slaby
  0 siblings, 1 reply; 3+ messages in thread
From: zhangjiao2 @ 2026-09-01  9:36 UTC (permalink / raw)
  To: srinivas.pandruvada; +Cc: raj.khem, linux-kernel, trivial, zhang jiao

From: zhang jiao <zhangjiao2@cmss.chinamobile.com>

The 'clean' target currently leaves behind .* .o.cmd and .* .o.d files,
as well as the generated 'include' directory. Extend the target to
remove these so 'make clean' fully resets the build tree.

Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
---
 tools/power/x86/intel-speed-select/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
index 6b299aae2ded..46874e4cee51 100644
--- a/tools/power/x86/intel-speed-select/Makefile
+++ b/tools/power/x86/intel-speed-select/Makefile
@@ -54,6 +54,8 @@ clean:
 	rm -f $(ALL_PROGRAMS)
 	rm -rf $(OUTPUT)include/linux/isst_if.h
 	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
+	find $(or $(OUTPUT),.) -name '.*.o.cmd' -delete -o -name '.*.o.d' -delete
+	find $(or $(OUTPUT),.) -type d -name 'include' -exec rm -rf {} +
 
 install: $(ALL_PROGRAMS)
 	install -d -m 755 $(DESTDIR)$(bindir);		\
-- 
2.33.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-09 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01  9:36 [PATCH] tools/power/x86/intel-speed-select: Clean up more build artifacts in 'clean' target zhangjiao2
2026-09-08  7:39 ` Jiri Slaby
2026-09-09 23:50   ` srinivas pandruvada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®