summaryrefslogtreecommitdiffstats
path: root/package/quagga/quagga.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 21:47:18 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:01:08 +0200
commit0d6bea5119e25ee3c331ab27b30886cceee11aa1 (patch)
tree641db3f53d79b9a46f4ce4cbb115f4faab9e5a4b /package/quagga/quagga.mk
parent1be5730aa2bc51cbe1deca6282b22fa20306d47c (diff)
downloadbuildroot-novena-0d6bea5119e25ee3c331ab27b30886cceee11aa1.tar.gz
buildroot-novena-0d6bea5119e25ee3c331ab27b30886cceee11aa1.zip
quagga: snmp support needs netsnmp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/quagga/quagga.mk')
-rw-r--r--package/quagga/quagga.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/quagga/quagga.mk b/package/quagga/quagga.mk
index fb520eeba..d2f0616c6 100644
--- a/package/quagga/quagga.mk
+++ b/package/quagga/quagga.mk
@@ -10,6 +10,8 @@ QUAGGA_DIR:=$(BUILD_DIR)/quagga-$(QUAGGA_VERSION)
QUAGGA_CAT:=$(ZCAT)
QUAGGA_CONFIGURE:=
+QUAGGA_DEPENDENCIES:=
+
ifeq ($(BR2_PACKAGE_QUAGGA_ZEBRA),y)
QUAGGA_CONFIGURE+=--enable-zebra
ifndef QUAGGA_TARGET_BINARY
@@ -96,6 +98,7 @@ QUAGGA_CONFIGURE+=--disable-netlink
endif
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
QUAGGA_CONFIGURE+=--enable-snmp
+QUAGGA_DEPENDENCIES+=netsnmp
else
QUAGGA_CONFIGURE+=--disable-snmp
endif
@@ -163,7 +166,7 @@ ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/info
endif
-quagga: $(TARGET_DIR)/usr/sbin/$(QUAGGA_TARGET_BINARY)
+quagga: $(QUAGGA_DEPENDENCIES) $(TARGET_DIR)/usr/sbin/$(QUAGGA_TARGET_BINARY)
quagga-clean:
-$(MAKE) DESTDIR=$(TARGET_DIR) -C $(QUAGGA_DIR) uninstall