mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tools/power/x86/intel-speed-select: clean all the produced files
@ 2026-09-08  6:50 Jiri Slaby (SUSE)
  2026-09-10  1:06 ` srinivas pandruvada
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby (SUSE) @ 2026-09-08  6:50 UTC (permalink / raw)
  To: srinivas.pandruvada; +Cc: linux-kernel, Jiri Slaby (SUSE), platform-driver-x86

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@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
Cc: platform-driver-x86@vger.kernel.org
---
 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


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

* Re: [PATCH] tools/power/x86/intel-speed-select: clean all the produced files
  2026-09-08  6:50 [PATCH] tools/power/x86/intel-speed-select: clean all the produced files Jiri Slaby (SUSE)
@ 2026-09-10  1:06 ` srinivas pandruvada
  0 siblings, 0 replies; 2+ messages in thread
From: srinivas pandruvada @ 2026-09-10  1:06 UTC (permalink / raw)
  To: Jiri Slaby (SUSE); +Cc: linux-kernel, platform-driver-x86

On Tue, 2026-09-08 at 08:50 +0200, Jiri Slaby (SUSE) wrote:
> 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@kernel.org>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>


Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/spandruvada/linux.git/log/?h=for-sst-v7.4.rc1


Thanks,
Srinivas

> ---
> Cc: platform-driver-x86@vger.kernel.org
> ---
>  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);		\

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

end of thread, other threads:[~2026-09-10  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08  6:50 [PATCH] tools/power/x86/intel-speed-select: clean all the produced files Jiri Slaby (SUSE)
2026-09-10  1:06 ` 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®