mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
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 <ross.burton@arm.com>
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user