Skip to contentSkip to conversation

openssl-qoriq: don't use deprecated functions from utils.bbclass

PATCH New Chunrong Guo 1 participant 1 message Feb 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl-qoriq: don't use deprecated functions from utils.bbclass

From: Chunrong Guo <[email protected]>

These functions were moved to meta/lib/oe in 2010 and the base_* functions in utils.bbclass were intended to be a short-term compatibility layer. They're still used in a few places, so update the callers to use the new functions

---
 recipes-connectivity/openssl/openssl-qoriq.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/openssl/openssl-qoriq.inc +1 -1
index d7e4e33..edf3b9d 100644
@@ -32,7 +32,7 @@ TERMIO_libc-musl = "-DTERMIOS"
 TERMIO ?= "-DTERMIO"
 # Avoid binaries being marked as requiring an executable stack since it 
 # doesn't(which causes and this causes issues with SELinux
-CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
+CFLAG = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
 	 ${TERMIO} ${CFLAGS} -Wall -Wa,--noexecstack"
 
 export DIRS = "crypto ssl apps"
Signature · 1 line
1.9.0