commit | c730c4d5d2718e33dc33c34566b0178ed7dcebcb | [log] [tgz] |
---|---|---|
author | Heiko Thiery <heiko.thiery@gmail.com> | Wed Jul 20 12:31:35 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 04 15:32:20 2022 -0400 |
tree | cd9944c3deee8ba931455786c291287d0f8e51e3 | |
parent | de7adbdef454eea038a68734c9113118f23d9bbb [diff] |
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: Pali Rohár <pali@kernel.org> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>