diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 17:31:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 17:31:27 -0500 |
commit | bec04432cb9036dedf89140c102b5ac03e4b3626 (patch) | |
tree | 390d76ddf5f302577efc704a78251f099bfecbf5 /tools | |
parent | e29116758c4e06be9ba6358350f9d9f466414efb (diff) | |
parent | 1e032393d9680c1f3b5238ec0f3f4eb006ee83d2 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal management updates from Zhang Rui:
- introduce brcmstb AVS TMON thermal driver (Brian Norris)
- add Rockchip RV1108 support in rockchip thermal driver (Rocky Hao)
- major rework on HISI driver plus additional support of hisi3660
(Daniel Lezcano)
- add nvmem-cells binding on imx6sx (Leonard Crestez)
- fix a NULL pointer dereference on ti thermal driver unloading (Tony
Lindgren)
- improve tmon tool to make it easier to cross-compile tmon (Markus
Mayer)
- add Coffee Lake and Cannon Lake support for intel processor and pch
thermal drivers (Srinivas Pandruvada)
- other small fixes and cleanups (Arvind Yadav, Colin Ian King, Allen
Wild, Nicolin Chen, Baruch SiachNiklas Söderlund, Arnd Bergmann)
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (44 commits)
thermal: pch: Add Cannon Lake support
thermal: int340x: processor_thermal: Add Coffee Lake support
thermal: int340x: processor_thermal: Add Cannon Lake support
thermal: bxt: remove redundant variable trip
thermal: cpu_cooling: pr_err() strings should end with newlines
thermal: add brcmstb AVS TMON driver
Documentation: devicetree: add binding for Broadcom STB AVS TMON
thermal/drivers/hisi: Add support for hi3660 SoC
thermal/drivers/hisi: Prepare to add support for other hisi platforms
thermal/drivers/hisi: Add platform prefix to function name
thermal/drivers/hisi: Put platform code together
thermal/drivers/qcom-spmi: Use devm_iio_channel_get
thermal/drivers/generic-iio-adc: Switch tz request to devm version
thermal/drivers/step_wise: Fix temperature regulation misbehavior
thermal/drivers/hisi: Use round up step value
thermal/drivers/hisi: Move the clk setup in the corresponding functions
thermal/drivers/hisi: Remove mutex_lock in the code
thermal/drivers/hisi: Remove thermal data back pointer
thermal/drivers/hisi: Convert long to int
thermal/drivers/hisi: Rename and remove unused field
...
Diffstat (limited to 'tools')
-rw-r--r-- | tools/thermal/tmon/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile index 21169322baea..735a510230c3 100644 --- a/tools/thermal/tmon/Makefile +++ b/tools/thermal/tmon/Makefile | |||
@@ -1,10 +1,16 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | 1 | # SPDX-License-Identifier: GPL-2.0 |
2 | # We need this for the "cc-option" macro. | ||
3 | include ../../../scripts/Kbuild.include | ||
4 | |||
2 | VERSION = 1.0 | 5 | VERSION = 1.0 |
3 | 6 | ||
4 | BINDIR=usr/bin | 7 | BINDIR=usr/bin |
5 | WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int | 8 | WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int |
6 | CFLAGS+= -O1 ${WARNFLAGS} -fstack-protector | 9 | CFLAGS+= -O1 ${WARNFLAGS} |
7 | CC=$(CROSS_COMPILE)gcc | 10 | # Add "-fstack-protector" only if toolchain supports it. |
11 | CFLAGS+= $(call cc-option,-fstack-protector) | ||
12 | CC?= $(CROSS_COMPILE)gcc | ||
13 | PKG_CONFIG?= pkg-config | ||
8 | 14 | ||
9 | CFLAGS+=-D VERSION=\"$(VERSION)\" | 15 | CFLAGS+=-D VERSION=\"$(VERSION)\" |
10 | LDFLAGS+= | 16 | LDFLAGS+= |
@@ -19,12 +25,12 @@ STATIC := --static | |||
19 | endif | 25 | endif |
20 | 26 | ||
21 | TMON_LIBS=-lm -lpthread | 27 | TMON_LIBS=-lm -lpthread |
22 | TMON_LIBS += $(shell pkg-config --libs $(STATIC) panelw ncursesw 2> /dev/null || \ | 28 | TMON_LIBS += $(shell $(PKG_CONFIG) --libs $(STATIC) panelw ncursesw 2> /dev/null || \ |
23 | pkg-config --libs $(STATIC) panel ncurses 2> /dev/null || \ | 29 | $(PKG_CONFIG) --libs $(STATIC) panel ncurses 2> /dev/null || \ |
24 | echo -lpanel -lncurses) | 30 | echo -lpanel -lncurses) |
25 | 31 | ||
26 | CFLAGS += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \ | 32 | CFLAGS += $(shell $(PKG_CONFIG) --cflags $(STATIC) panelw ncursesw 2> /dev/null || \ |
27 | pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null) | 33 | $(PKG_CONFIG) --cflags $(STATIC) panel ncurses 2> /dev/null) |
28 | 34 | ||
29 | OBJS = tmon.o tui.o sysfs.o pid.o | 35 | OBJS = tmon.o tui.o sysfs.o pid.o |
30 | OBJS += | 36 | OBJS += |