linux/tools/lib/thermal
Sascha Hauer 9285548962 tools: lib: thermal: use pkg-config to locate libnl3
[ Upstream commit b31f7f725c ]

To make libthermal more cross compile friendly use pkg-config to locate
libnl3. Only if that fails fall back to hardcoded /usr/include/libnl3.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-13 15:34:35 -05:00
..
include tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
.gitignore tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
Build tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
commands.c thermal/lib: Fix memory leak on error in thermal_genl_auto() 2024-12-05 14:01:21 +01:00
events.c tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
libthermal.map tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
libthermal.pc.template tools/lib/thermal: Fix include path for libnl3 in pkg-config file. 2023-02-15 17:29:40 +01:00
Makefile tools: lib: thermal: use pkg-config to locate libnl3 2025-11-13 15:34:35 -05:00
sampling.c tools/lib/thermal: Fix sampling handler context ptr 2024-11-04 15:38:29 +01:00
thermal.c tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
thermal_nl.c tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00
thermal_nl.h tools/lib/thermal: Add a thermal library 2022-05-19 12:11:51 +02:00