summaryrefslogtreecommitdiff
path: root/tools/lib/thermal
diff options
context:
space:
mode:
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>2024-09-12 12:50:31 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-11-04 15:38:29 +0100
commitc5426dcc5a3a064bbd2de383e29035a14fe933e0 (patch)
tree97bf4578d11720854ac9035e8f4bbfc542a59b2c /tools/lib/thermal
parentfcd54cf480c87b96313a97dbf898c644b7bb3a2e (diff)
downloadlwn-c5426dcc5a3a064bbd2de383e29035a14fe933e0.tar.gz
lwn-c5426dcc5a3a064bbd2de383e29035a14fe933e0.zip
tools/lib/thermal: Remove the thermal.h soft link when doing make clean
Run "make -C tools thermal" can create a soft link for thermal.h in tools/include/uapi/linux. Just rm it when make clean. Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20240912045031.18426-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/lib/thermal')
-rw-r--r--tools/lib/thermal/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/thermal/Makefile b/tools/lib/thermal/Makefile
index 2d0d255fd0e1..8890fd57b110 100644
--- a/tools/lib/thermal/Makefile
+++ b/tools/lib/thermal/Makefile
@@ -121,7 +121,9 @@ all: fixdep
clean:
$(call QUIET_CLEAN, libthermal) $(RM) $(LIBTHERMAL_A) \
- *.o *~ *.a *.so *.so.$(VERSION) *.so.$(LIBTHERMAL_VERSION) .*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC)
+ *.o *~ *.a *.so *.so.$(VERSION) *.so.$(LIBTHERMAL_VERSION) \
+ .*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC) \
+ $(srctree)/tools/$(THERMAL_UAPI)
$(LIBTHERMAL_PC):
$(QUIET_GEN)sed -e "s|@PREFIX@|$(prefix)|" \