]> code.ossystems Code Review - meta-freescale.git/commitdiff
openssl-qoriq: don't use deprecated functions from utils.bbclass
authorChunrong Guo <chunrong.guo@nxp.com>
Mon, 5 Feb 2018 07:13:09 +0000 (15:13 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 6 Feb 2018 12:02:16 +0000 (10:02 -0200)
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

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-connectivity/openssl/openssl-qoriq.inc

index d7e4e331ade2eab383d81131641cc0431c67bac4..edf3b9d0f2fcbdf2475cb7e706642b718ca7568f 100644 (file)
@@ -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"