[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240912045031.18426-1-zhangjiao2@cmss.chinamobile.com>
Date: Thu, 12 Sep 2024 12:50:31 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: rafael@...nel.org
Cc: daniel.lezcano@...aro.org,
rui.zhang@...el.com,
lukasz.luba@....com,
linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
zhang jiao <zhangjiao2@...s.chinamobile.com>
Subject: [PATCH] tools/lib/thermal: Rm thermal.h soft link.
From: zhang jiao <zhangjiao2@...s.chinamobile.com>
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@...s.chinamobile.com>
---
tools/lib/thermal/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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|@...FIX@|$(prefix)|" \
--
2.33.0
Powered by blists - more mailing lists