Skip to content
Commit 124b21e7 authored by Heiko Thiery's avatar Heiko Thiery Committed by Tom Rini
Browse files

tools: kwboot: use pkg-config to get -ltinfo



Instead of hardcoding -ltinfo as the flags needed to build
kwboot, use pkg-config when available.

We gracefully fallback on the previous behavior of hardcoding -ltinfo
if pkg-config is not available or fails with an error.

Reviewed-by: default avatarPali Rohár <pali@kernel.org>
Signed-off-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
parent 31a7688c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment