diff options
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb index 5df1f9340e..bee83c4d13 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb | |||
@@ -40,7 +40,7 @@ CCACHE = "" | |||
40 | 40 | ||
41 | TARGET_CC_ARCH += "${LDFLAGS}" | 41 | TARGET_CC_ARCH += "${LDFLAGS}" |
42 | 42 | ||
43 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} des" | 43 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} des smux" |
44 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" | 44 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" |
45 | PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl" | 45 | PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl" |
46 | 46 | ||
@@ -49,6 +49,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," | |||
49 | PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ | 49 | PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ |
50 | perl," | 50 | perl," |
51 | PACKAGECONFIG[des] = "--enable-des,--disable-des" | 51 | PACKAGECONFIG[des] = "--enable-des,--disable-des" |
52 | PACKAGECONFIG[smux] = "" | ||
52 | 53 | ||
53 | EXTRA_OECONF = "--enable-shared \ | 54 | EXTRA_OECONF = "--enable-shared \ |
54 | --disable-manuals \ | 55 | --disable-manuals \ |
@@ -57,10 +58,11 @@ EXTRA_OECONF = "--enable-shared \ | |||
57 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ | 58 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ |
58 | ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ | 59 | ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ |
59 | --with-openssl=${STAGING_EXECPREFIXDIR} \ | 60 | --with-openssl=${STAGING_EXECPREFIXDIR} \ |
61 | --with-mib-modules='${MIB_MODULES}' \ | ||
60 | " | 62 | " |
61 | 63 | ||
62 | # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp | 64 | MIB_MODULES = "" |
63 | EXTRA_OECONF += "--with-mib-modules=smux" | 65 | MIB_MODULES_append = " ${@bb.utils.filter('PACKAGECONFIG', 'smux', d)}" |
64 | 66 | ||
65 | CACHED_CONFIGUREVARS = " \ | 67 | CACHED_CONFIGUREVARS = " \ |
66 | ac_cv_header_valgrind_valgrind_h=no \ | 68 | ac_cv_header_valgrind_valgrind_h=no \ |