diff options
author | Heiko Thiery <heiko.thiery@gmail.com> | 2022-07-20 12:31:35 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 15:32:20 -0400 |
commit | 124b21e7bd3d0ad5258c7cf84540301bff27012a (patch) | |
tree | cd9944c3deee8ba931455786c291287d0f8e51e3 /tools/sunxi_toc0.c | |
parent | 31a7688cbe0ed5edf4108a1f7ef4653659610d4b (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>
Diffstat (limited to 'tools/sunxi_toc0.c')
0 files changed, 0 insertions, 0 deletions