It sets all environment variables correctly for openssl-native.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 meta/recipes-bsp/u-boot/u-boot.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

v3: switched from .= to plain = in variable assignment

v2: no changes 
https://lists.openembedded.org/g/openembedded-core/message/171443?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cu-boot%3A+use+openssl-native.bbclass%2C20%2C2%2C0%2C94116081

v1: 
https://lists.openembedded.org/g/openembedded-core/message/171377?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cu-boot%3A+use+openssl-native.bbclass%2C20%2C2%2C0%2C94110197

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index f022aed732..c68306f203 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -17,7 +17,8 @@ PACKAGECONFIG ??= "openssl"
 # u-boot will compile its own tools during the build, with specific
 # configurations (aka when CONFIG_FIT_SIGNATURE is enabled) openssl is needed 
as
 # a host build dependency.
-PACKAGECONFIG[openssl] = ",,openssl-native"
+OPENSSL_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'openssl', 
'openssl-native', '', d)}"
+inherit ${OPENSSL_INHERIT}
 
 # Allow setting an additional version string that will be picked up by the
 # u-boot build system and appended to the u-boot version.  If the .scmversion
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171446): 
https://lists.openembedded.org/g/openembedded-core/message/171446
Mute This Topic: https://lists.openembedded.org/mt/94130565/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to