thermal-engine requires thermal to build, and the dependency is in place.
It is then obvious that install and clean targets should also depend on
the corresponding thermal target.
Signed-off-by: Eugen Hristev <eugen.hristev@linaro.org>
---
tools/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index c31cbbd12c45..a4f5577210f1 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -152,7 +152,7 @@ tmon_install:
thermometer_install:
$(call descend,thermal/$(@:_install=),install)
-thermal-engine_install:
+thermal-engine_install: thermal_install
$(call descend,thermal/$(@:_install=),install)
freefall_install:
@@ -209,7 +209,7 @@ turbostat_clean x86_energy_perf_policy_clean intel-speed-select_clean:
thermometer_clean:
$(call descend,thermal/thermometer,clean)
-thermal-engine_clean:
+thermal-engine_clean: thermal_clean
$(call descend,thermal/thermal-engine,clean)
tmon_clean:
--
2.43.0