netsnmp: add explicit support for pciutils
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 15 Dec 2015 17:20:18 +0000 (14:20 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Dec 2015 20:35:59 +0000 (21:35 +0100)
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>
package/netsnmp/netsnmp.mk

index fb7217964e7761f37699bee829f00a4f968417a3..0eb3b26711d37da064030a719f29b37d2b04d3ff 100644 (file)
@@ -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