2007-06-28 17:55:00 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# quagga suite
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-04-01 20:51:29 +02:00
|
|
|
|
2011-10-15 05:07:15 +02:00
|
|
|
QUAGGA_VERSION = 0.99.20
|
2011-04-01 20:51:29 +02:00
|
|
|
QUAGGA_SITE = http://www.quagga.net/download
|
2007-06-28 17:55:00 +02:00
|
|
|
|
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
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_ZEBRA),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-zebra
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-zebra
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_BGPD),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-bgpd
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-bgpd
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_RIPD),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-ripd
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-ripd
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_RIPNGD),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-ripngd
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-ripngd
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_OSPFD),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-ospfd
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-ospfd
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_OSPF6D),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-ospf6d
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-ospf6d
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-watchquagga
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-watchquagga
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_ISISD),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-isisd
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-isisd
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-bgp-announce
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-bgp-announce
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-snmp
|
2009-10-03 21:47:18 +02:00
|
|
|
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)
|
|
|
|
QUAGGA_CONF_OPT+=--without-crypto
|
|
|
|
endif
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-snmp
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_TCP_ZEBRA),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-tcp-zebra
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-tcp-zebra
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2010-09-30 21:50:04 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),y)
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--enable-opaque-lsa
|
2007-06-28 17:55:00 +02:00
|
|
|
else
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_CONF_OPT+=--disable-opaque-lsa
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|