Commit c5426dcc authored by zhang jiao's avatar zhang jiao Committed by Daniel Lezcano
Browse files

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: default avatarzhang jiao <zhangjiao2@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20240912045031.18426-1-zhangjiao2@cmss.chinamobile.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent fcd54cf4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)|" \