[PATCH 5/6] tools/thermal: Fix thermometer/thermal-engine thermal tools dependency
From: Eugen Hristev
Date: Mon Aug 11 2025 - 03:00:55 EST
Thermometer and thermal engine depend on thermal tools library.
This lib should be built and installed accordingly.
Fixes: 110acbc6a451 ("tools/thermal: Add a temperature capture tool")
Fixes: 077df623c834 ("tools/thermal: Add thermal daemon skeleton")
Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx>
---
tools/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/Makefile b/tools/Makefile
index a4f5577210f1..9cc71b302b19 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -108,9 +108,11 @@ tmon: FORCE
$(call descend,thermal/$@)
thermometer: FORCE
+ $(call descend,thermal/lib)
$(call descend,thermal/$@)
thermal-engine: FORCE thermal
+ $(call descend,thermal/lib)
$(call descend,thermal/$@)
freefall: FORCE
@@ -150,9 +152,11 @@ tmon_install:
$(call descend,thermal/$(@:_install=),install)
thermometer_install:
+ $(call descend,thermal/lib/,install)
$(call descend,thermal/$(@:_install=),install)
thermal-engine_install: thermal_install
+ $(call descend,thermal/lib/,install)
$(call descend,thermal/$(@:_install=),install)
freefall_install:
@@ -207,9 +211,11 @@ turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
$(call descend,power/x86/$(@:_clean=),clean)
thermometer_clean:
+ $(call descend,thermal/lib,clean)
$(call descend,thermal/thermometer,clean)
thermal-engine_clean: thermal_clean
+ $(call descend,thermal/lib,clean)
$(call descend,thermal/thermal-engine,clean)
tmon_clean:
--
2.43.0