From 4b0145b0d8f5cadcd1b5e6149d1b2db292e3edaf Mon Sep 17 00:00:00 2001 From: acoul Date: Fri, 26 Nov 2010 09:30:51 +0000 Subject: [PATCH] net/quagga: fix some compile issues on SDK git-svn-id: svn+ssh://svn.openwrt.org/openwrt@24147 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b73d93..bd6e3a8 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ endef define Package/quagga-ripngd $(call Package/quagga/Default) - DEPENDS+=+quagga-libzebra @BROKEN + DEPENDS+=+quagga-libzebra @IPV6 TITLE:=RIPNG routing engine endef @@ -287,6 +287,7 @@ define Package/quagga-libzebra/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libzebra.so.* $(1)/usr/lib/ endef +ifeq ($(CONFIG_IPV6),y) $(eval $(call BuildPackage,quagga)) $(eval $(call BuildPackage,quagga-libzebra)) $(eval $(call BuildPackage,quagga-libospf)) @@ -297,3 +298,13 @@ $(eval $(call BuildPackage,quagga-ospf6d)) $(eval $(call BuildPackage,quagga-ripd)) $(eval $(call BuildPackage,quagga-ripngd)) $(eval $(call BuildPackage,quagga-vtysh)) +else +$(eval $(call BuildPackage,quagga)) +$(eval $(call BuildPackage,quagga-libzebra)) +$(eval $(call BuildPackage,quagga-libospf)) +$(eval $(call BuildPackage,quagga-bgpd)) +$(eval $(call BuildPackage,quagga-isisd)) +$(eval $(call BuildPackage,quagga-ospfd)) +$(eval $(call BuildPackage,quagga-ripd)) +$(eval $(call BuildPackage,quagga-vtysh)) +endif -- 2.30.2