]> git.baikalelectronics.ru Git - uboot.git/commit
tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 20 Jul 2022 10:31:33 +0000 (12:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 19:32:20 +0000 (15:32 -0400)
commitc0ba05be06f30b48305822a922d53d0ae42fcdcd
tree543cb4c124a9d852a3053c1d16b7770e99a5eb21
parentde978cb1e7037f8a04db11f62651aa436c393311
tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

Instead of hardcoding -luuid -lgnutls as the flags needed to build
mkeficapsule, use pkg-config when available.

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

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
tools/Makefile