1 ################################################################################
5 ################################################################################
7 QUAGGA_VERSION
= 0.99.24.1
8 QUAGGA_SOURCE
= quagga-
$(QUAGGA_VERSION
).
tar.xz
9 QUAGGA_SITE
= http
://download.savannah.gnu.org
/releases
/quagga
10 QUAGGA_DEPENDENCIES
= host-gawk
11 QUAGGA_LICENSE
= GPLv2
+
12 QUAGGA_LICENSE_FILES
= COPYING
13 QUAGGA_CONF_OPTS
= --program-transform-name
=''
15 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_ZEBRA
),--enable-zebra
,--disable-zebra
)
16 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_BABELD
),--enable-babeld
,--disable-babeld
)
17 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_BGPD
),--enable-bgpd
,--disable-bgpd
)
18 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_RIPD
),--enable-ripd
,--disable-ripd
)
19 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_RIPNGD
),--enable-ripngd
,--disable-ripngd
)
20 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_OSPFD
),--enable-ospfd
,--disable-ospfd
)
21 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_OSPF6D
),--enable-ospf6d
,--disable-ospf6d
)
22 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_PIMD
),--enable-pimd
,--disable-pimd
)
23 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_WATCHQUAGGA
),--enable-watchquagga
,--disable-watchquagga
)
24 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_ISISD
),--enable-isisd
,--disable-isisd
)
25 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE
),--enable-bgp-announce
,--disable-bgp-announce
)
26 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_TCP_ZERBRA
),--enable-tcp-zebra
,--disable-tcp-zebra
)
27 QUAGGA_CONF_OPTS
+= $(if
$(BR2_PACKAGE_QUAGGA_OPAQUE_LSA
),--enable-opaque-lsa
,--disable-opaque-lsa
)
29 ifeq ($(BR2_PACKAGE_QUAGGA_SNMP
),y
)
30 QUAGGA_CONF_ENV
+= ac_cv_path_NETSNMP_CONFIG
=$(STAGING_DIR
)/usr
/bin
/net-snmp-config
31 QUAGGA_CONF_OPTS
+= --enable-snmp
=agentx
32 QUAGGA_DEPENDENCIES
+= netsnmp
35 ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH
),y
)
36 QUAGGA_CONF_OPTS
+= --enable-vtysh
37 QUAGGA_DEPENDENCIES
+= readline
39 QUAGGA_CONF_OPTS
+= --disable-vtysh
43 QUAGGA_CONF_OPTS
+= --disable-pie
46 $(eval
$(autotools-package
))