tools: add HOSTCFLAGS from openssl pkg-config
authorRaymond Mao <raymond.mao@linaro.org>
Wed, 26 Feb 2025 14:19:51 +0000 (06:19 -0800)
committerTom Rini <trini@konsulko.com>
Thu, 13 Mar 2025 20:21:30 +0000 (14:21 -0600)
commit7a765a37b3d4dead659a061561489ccce1276923
treebbf3166c23857c2e3f8ed5a5ac259931200df594
parenta920169b4c7446702f3fbf3a61cc55069ee128f9
tools: add HOSTCFLAGS from openssl pkg-config

HOSTCFLAGS of some tools components (image-host, rsa-sign and
ecdsa-libcrypto) depend on the directory where openssl is installed.
Add them via pkg-config.
This fixes a potential build failure in tools when openssl in installed
in varied directories.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
tools/Makefile