Skip to contentSkip to conversation

tools/power/x86/intel-speed-select: clean all the produced files

PATCH In review Jiri Slaby (SUSE) 2 participants 2 messages Sep 8 – Sep 10

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/power/x86/intel-speed-select: clean all the produced files

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".

Cc Srinivas Pandruvada <[email protected]>

---
Cc: [email protected]

---
 tools/power/x86/intel-speed-select/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/power/x86/intel-speed-select/Makefile +2 -2
index 6b299aae2ded..6f896f40c1a8 100644
@@ -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);		\
Signature · 1 line
2.55.0
#1 lore raw
Quoted 10 lines · Jiri Slaby (SUSE)

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".

Quoted 2 lines
Cc Srinivas Pandruvada <[email protected]>

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

Thanks,
Srinivas

Quoted 25 lines

---
Cc: [email protected]
---
 tools/power/x86/intel-speed-select/Makefile | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
tools/power/x86/intel-speed-select/Makefile +0 -0
index 6b299aae2ded..6f896f40c1a8 100644
@@ -52,8 +52,8 @@ $(OUTPUT)intel-speed-select: $(ISST_IN)


 clean:
  rm -f $(ALL_PROGRAMS)

tools/power/x86/intel-speed-select/Makefile +1 -3
-	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

tools/power/x86/intel-speed-select/Makefile +1 -1
+	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); \