2007-06-28 17:55:00 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# quagga suite
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-04-01 20:51:29 +02:00
|
|
|
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_VERSION = 0.99.21
|
|
|
|
QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_DEPENDENCIES = host-gawk
|
2010-09-30 21:50:04 +02:00
|
|
|
QUAGGA_CONF_OPT = --program-transform-name='' --enable-netlink
|
2009-10-03 21:47:18 +02:00
|
|
|
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_ZEBRA),--enable-zebra,--disable-zebra)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_BABELD),--enable-babeld,--disable-babeld)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_BGPD),--enable-bgpd,--disable-bgpd)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_RIPD),--enable-ripd,--disable-ripd)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_RIPNGD),--enable-ripngd,--disable-ripngd)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_OSPFD),--enable-ospfd,--disable-ospfd)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_OSPF6D),--enable-ospf6d,--disable-ospf6d)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),--enable-watchquagga,--disable-watchquagga)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_ISISD),--enable-isisd,--disable-isisd)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),--enable-bgp-announce,--disable-bgp-announce)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZERBRA),--enable-tcp-zebra,--disable-tcp-zebra)
|
|
|
|
QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),--enable-opaque-lsa,--disable-opaque-lsa)
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_CONF_OPT += --enable-snmp
|
|
|
|
QUAGGA_DEPENDENCIES += netsnmp
|
2011-02-21 20:25:06 +01:00
|
|
|
# SNMP support tries -lcrypto by default, disable it if we ain't got openssl
|
|
|
|
ifneq ($(BR2_PACKAGE_OPENSSL),y)
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_CONF_OPT +=--without-crypto
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
|
|
|
else
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_CONF_OPT +=--disable-snmp
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|