tf-a needs openssl, otherwise:

          HOSTCC  tbbr_config.c
        In file included from fiptool.h:16,
                         from fiptool.c:19:
        fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or 
directory
           19 | # include <openssl/sha.h>
              |           ^~~~~~~~~~~~~~~
        compilation terminated.

(This only happens if the openssl development package isn't installed on
the host.

Signed-off-by: Uwe Kleine-König <[email protected]>
---
 platforms/host-tf-a.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/host-tf-a.in b/platforms/host-tf-a.in
index 1a299f042724..f8fd15c48937 100644
--- a/platforms/host-tf-a.in
+++ b/platforms/host-tf-a.in
@@ -3,5 +3,6 @@
 config HOST_TF_A
        tristate
        default y if ALLYES && TF_A
+       select HOST_OPENSSL
        help
          This provides fiptool

base-commit: 02f8e5e7cb2ae088b69bfd2d75ba9e702eeaac5f
-- 
2.36.1


Reply via email to