]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools: lib: thermal: use pkg-config to locate libnl3
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Oct 2025 11:40:55 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:38 +0000 (15:37 -0500)
commit3cc8161f91bab4e26ca44cfcbcb14a079c8de4be
treef4f08a65e1104596c7e39bae91cc1442a2fa8c48
parente5c5a7c0c3f60d2ef9e7cef87cdfb26d1a7b61f0
tools: lib: thermal: use pkg-config to locate libnl3

[ Upstream commit b31f7f725cd932e2c2b41f3e4b66273653953687 ]

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>
tools/lib/thermal/Makefile