diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2011-08-31 21:46:39 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-09-11 23:10:23 +0200 |
commit | 9c83b37cccb51f89a40f69a64b7ffba2e8c6f0f5 (patch) | |
tree | f18b872bc0e31726085ea87fe928b6b2a6d63441 /package/netsnmp/netsnmp.mk | |
parent | 77cc11d533f79d13e9a440823d6f5e100cbdd202 (diff) |
netsnmp: allow to disable MIB files installation and MIB loading code
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/netsnmp/netsnmp.mk')
-rw-r--r-- | package/netsnmp/netsnmp.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index a44f3feef..05d8db74f 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -43,6 +43,11 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y) NETSNMP_CONF_OPT += --disable-manuals endif +ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y) + NETSNMP_CONF_OPT += --disable-mib-loading + NETSNMP_CONF_OPT += --disable-mibs +endif + # Remove IPv6 MIBs if there's no IPv6 ifneq ($(BR2_INET_IPV6),y) define NETSNMP_REMOVE_MIBS_IPV6 |