From fa4994b2d8da73fd3ae30875b3af8d7a682cdd53 Mon Sep 17 00:00:00 2001 From: Daniel Klauer Date: Thu, 1 Aug 2019 11:15:01 +0200 Subject: [PATCH] atf: Fix builds of native tools during build process atf builds some native tools such as fiptool during its build process, this should use Yocto's native toolchain options instead of just the host's. This way the fiptool build will actually use the openssl-native dependency from Yocto's native sysroot, instead of the host's openssl (which may not exist). Signed-off-by: Daniel Klauer --- recipes-bsp/atf/atf_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index bc182ebe..e3d18624 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -29,6 +29,8 @@ LDFLAGS[unexport] = "1" AS[unexport] = "1" LD[unexport] = "1" +EXTRA_OEMAKE += "HOSTCC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}'" + BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc" BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}" BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}" -- 2.40.1