Skip to content

Commit c5426dc

Browse files
zhang jiaodlezcano
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent fcd54cf commit c5426dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/lib/thermal/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ all: fixdep
121121

122122
clean:
123123
$(call QUIET_CLEAN, libthermal) $(RM) $(LIBTHERMAL_A) \
124-
*.o *~ *.a *.so *.so.$(VERSION) *.so.$(LIBTHERMAL_VERSION) .*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC)
124+
*.o *~ *.a *.so *.so.$(VERSION) *.so.$(LIBTHERMAL_VERSION) \
125+
.*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC) \
126+
$(srctree)/tools/$(THERMAL_UAPI)
125127

126128
$(LIBTHERMAL_PC):
127129
$(QUIET_GEN)sed -e "s|@PREFIX@|$(prefix)|" \

0 commit comments

Comments
 (0)