[PATCH] tools/power/x86/intel-speed-select: rm .*.cmd when make clean

Zhu Jun posted 1 patch 1 week ago
tools/power/x86/intel-speed-select/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tools/power/x86/intel-speed-select: rm .*.cmd when make clean
Posted by Zhu Jun 1 week ago
rm .*.cmd when make clean

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
 tools/power/x86/intel-speed-select/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
index 7221f2f55e8b..b58185cc97d2 100644
--- a/tools/power/x86/intel-speed-select/Makefile
+++ b/tools/power/x86/intel-speed-select/Makefile
@@ -47,7 +47,7 @@ $(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
+	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete
 
 install: $(ALL_PROGRAMS)
 	install -d -m 755 $(DESTDIR)$(bindir);		\
-- 
2.17.1
Re: [PATCH] tools/power/x86/intel-speed-select: rm .*.cmd when make clean
Posted by srinivas pandruvada 23 hours ago
On Thu, 2024-11-14 at 23:32 -0800, Zhu Jun wrote:
> rm .*.cmd when make clean
> 
I don't see .cmd files by running make, how did you get those files?

I have

#ls

Build         include                  isst-config.c  isst-core-mbox.c
isst-core-tpmi.c  isst-daemon.o   isst.h
hfi-events.c  intel-speed-select       isst-config.o  isst-core-mbox.o
isst-core-tpmi.o  isst-display.c  Makefile
hfi-events.o  intel-speed-select-in.o  isst-core.c    isst-core.o     
isst-daemon.c     isst-display.o


Thanks,
Srinivas

> Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
> ---
>  tools/power/x86/intel-speed-select/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/power/x86/intel-speed-select/Makefile
> b/tools/power/x86/intel-speed-select/Makefile
> index 7221f2f55e8b..b58185cc97d2 100644
> --- a/tools/power/x86/intel-speed-select/Makefile
> +++ b/tools/power/x86/intel-speed-select/Makefile
> @@ -47,7 +47,7 @@ $(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
> +	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d'
> -delete -o -name '\.*.cmd' -delete
>  
>  install: $(ALL_PROGRAMS)
>  	install -d -m 755 $(DESTDIR)$(bindir);		\