diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2018-01-30 12:14:10 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-02-01 13:48:27 +0000 |
commit | 99aa19ff53922b61dee0c8b63ee7f664f90e9a91 (patch) | |
tree | 551690686c0f9bd61fd3185d8d4cf101482d1a0d /meta-networking | |
parent | 6f536298c1afcaaff2771c7d0f242259d6b9fc1f (diff) | |
download | meta-openembedded-99aa19ff53922b61dee0c8b63ee7f664f90e9a91.tar.gz |
recipes: use oe.utils.conditional instead of deprecated base_conditional
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.7.0.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 2 |
2 files changed, 2 insertions, 2 deletions
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 f33c1384b..686998e5e 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 \ | |||
119 | --disable-rpath-install \ | 119 | --disable-rpath-install \ |
120 | --with-shared-modules=${SAMBA4_MODULES} \ | 120 | --with-shared-modules=${SAMBA4_MODULES} \ |
121 | --bundled-libraries=${SAMBA4_LIBS} \ | 121 | --bundled-libraries=${SAMBA4_LIBS} \ |
122 | ${@base_conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ | 122 | ${@oe.utils.conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ |
123 | --with-cluster-support \ | 123 | --with-cluster-support \ |
124 | --with-profiling-data \ | 124 | --with-profiling-data \ |
125 | --with-libiconv=${STAGING_DIR_HOST}${prefix} \ | 125 | --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 3c0587469..29cd6b3bf 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 \ | |||
60 | --with-defaults \ | 60 | --with-defaults \ |
61 | --with-install-prefix=${D} \ | 61 | --with-install-prefix=${D} \ |
62 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ | 62 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ |
63 | ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ | 63 | ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ |
64 | " | 64 | " |
65 | 65 | ||
66 | # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp | 66 | # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp |