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

1) The commit 7d440da009 ("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".

[ span: Capitalize first letter after : ]
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Jiri Slaby (SUSE) 2026-09-08 08:50:23 +02:00 committed by Ilpo Järvinen
parent cd0342cbad
commit 346629565a
No known key found for this signature in database
GPG Key ID: 59AC4F6153E5CE31

View File

@ -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); \