From 00e3238f8797bfd4dd351a5ea7837e909128f3f1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 20 Jul 2020 21:21:12 +0100 Subject: [PATCH] arm/trusted-firmware-a: fix TC0 build when host doesn't have openssl-dev The TC0 bbappend needs the cert_create tool to be built, which hard-codes the fact that openssl is installed in /usr. Change-Id: I8a7ed54fe7d75697509f7873e7d73b3bf1b2b903 Signed-off-by: Ross Burton --- meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc index 8ef10fad..0448bca0 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc @@ -100,9 +100,10 @@ EXTRA_OEMAKE += "${@bb.utils.contains('TFA_UBOOT', '1', 'BL33=${DEPLOY_DIR_IMAGE do_compile() { cd ${S} - # These changes are needed to have the fiptool compiling and executing properly + # These changes are needed to have the native tools compiling and executing properly sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile + sed -i 's^OPENSSL_DIR.*=.*$^OPENSSL_DIR = ${STAGING_DIR_NATIVE}/${prefix_native}^' ${S}/tools/*/Makefile oe_runmake ${TFA_BUILD_TARGET} }