Browse Source

netsnmp: add explicit support for pciutils

As pointed by Lonnie Abelbeck via email.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias 9 years ago
parent
commit
83124e7dd6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      package/netsnmp/netsnmp.mk

+ 5 - 0
package/netsnmp/netsnmp.mk

@@ -62,6 +62,11 @@ else
 NETSNMP_CONF_OPTS += --without-openssl
 endif
 
+# There's no option to forcibly enable or disable it
+ifeq ($(BR2_PACKAGE_PCIUTILS),y)
+NETSNMP_DEPENDENCIES += pciutils
+endif
+
 ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
 NETSNMP_CONF_OPTS += --disable-mib-loading
 NETSNMP_CONF_OPTS += --disable-mibs