From 99aa19ff53922b61dee0c8b63ee7f664f90e9a91 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 30 Jan 2018 12:14:10 +0000 Subject: recipes: use oe.utils.conditional instead of deprecated base_conditional Signed-off-by: Martin Jansa --- meta-networking/recipes-connectivity/samba/samba_4.7.0.bb | 2 +- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-networking') diff --git a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb index f33c1384bf..686998e5ef 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb @@ -119,7 +119,7 @@ EXTRA_OECONF += "--enable-fhs \ --disable-rpath-install \ --with-shared-modules=${SAMBA4_MODULES} \ --bundled-libraries=${SAMBA4_LIBS} \ - ${@base_conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ + ${@oe.utils.conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ --with-cluster-support \ --with-profiling-data \ --with-libiconv=${STAGING_DIR_HOST}${prefix} \ diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb index 3c05874690..29cd6b3bf4 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb @@ -60,7 +60,7 @@ EXTRA_OECONF = "--enable-shared \ --with-defaults \ --with-install-prefix=${D} \ --with-persistent-directory=${localstatedir}/lib/net-snmp \ - ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ + ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ " # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp -- cgit 1.2.3-korg