From 97368720f69d33b78addf13fae5e0a1cad56675b Mon Sep 17 00:00:00 2001 From: Luke McHale Date: Sat, 18 Jul 2026 20:58:16 +0000 Subject: [PATCH] Fix ATF: add openss-native dependency. Likely occurs when build system is missing openssl-dev package --- recipes-bsp/atf/atf_git.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 9c310de..b70a0e7 100755 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1 COMPATIBLE_MACHINE = "gateway-dk" -DEPENDS = "u-boot-tools-native u-boot rcw" +DEPENDS = "u-boot-tools-native openssl-native u-boot rcw" do_compile[depends] += "u-boot:do_deploy rcw:do_deploy" # Pinned to an NXP Linux Factory release (see conf/include/nxp-base.inc @@ -33,6 +33,12 @@ LDFLAGS[unexport] = "1" AS[unexport] = "1" LD[unexport] = "1" +# Fix issue w/ missing paths to host toolchain and openssl-native +EXTRA_OEMAKE += "\ + host-cc='${BUILD_CC}' \ + OPENSSL_DIR='${RECIPE_SYSROOT_NATIVE}/usr' \ +" + do_configure[noexec] = "1" do_compile() {