]> code.ossystems Code Review - meta-freescale.git/commitdiff
openssl/cryptodev: base_contains -> bb.utils.contains
authorZhenhua Luo <zhenhua.luo@nxp.com>
Fri, 3 Jun 2016 07:49:32 +0000 (15:49 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jun 2016 11:46:44 +0000 (08:46 -0300)
base_contains is deprecated.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-connectivity/openssl/openssl-qoriq.inc
recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc

index 894c1f0c3d83f1b1c75c32582526f4d73754cba8..faccb080de7ee5b66c7fafdea1ff028814f7b876 100644 (file)
@@ -49,7 +49,7 @@ FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}"
 FILES_libssl = "${libdir}/libssl.so.*"
 FILES_${PN} =+ " ${libdir}/ssl/*"
 FILES_${PN}-misc = "${libdir}/ssl/misc ${bindir}/c_rehash"
-RDEPENDS_${PN}-misc = "${@base_contains('PACKAGECONFIG', 'perl', 'perl', '', d)}"
+RDEPENDS_${PN}-misc = "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'perl', '', d)}"
 FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}"
 
 # Add the openssl.cnf file to the openssl-conf package.  Make the libcrypto
@@ -169,7 +169,7 @@ do_install () {
        cp --dereference -R include/openssl ${D}${includedir}
 
        oe_multilib_header openssl/opensslconf.h
-       if [ "${@base_contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" = "perl" ]; then
+       if [ "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" = "perl" ]; then
                install -m 0755 ${S}/tools/c_rehash ${D}${bindir}
                sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${bindir}/c_rehash
                sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
index aa0e9948f9e606fb95ea641bee83d0e4fb4f6017..e4700db4a5dee9f0fb1e9dcda4e61f360abd078a 100644 (file)
@@ -55,7 +55,7 @@ file://0024-fix-COMPAT_CIOCKEY-ioctl-command-number.patch \
 
 # NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc
 # if pkc-host does not need customized cryptodev patches anymore
-SRC_URI_append = "${@base_contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}"
+SRC_URI_append = "${@bb.utils.contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}"
 
 S = "${WORKDIR}/cryptodev-linux-${PV}"