aboutsummaryrefslogtreecommitdiff
path: root/package/bird/bird.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/bird/bird.mk')
-rw-r--r--package/bird/bird.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/bird/bird.mk b/package/bird/bird.mk
index e165be61c0..8fe585b935 100644
--- a/package/bird/bird.mk
+++ b/package/bird/bird.mk
@@ -17,4 +17,20 @@ else
BIRD_CONF_OPTS += --disable-client
endif
+# BUG: RIP is mandatory for now
+BIRD_PROTOCOLS = \
+ rip \
+ $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \
+ $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \
+ $(if $(BR2_PACKAGE_BIRD_BGP),bgp) \
+ $(if $(BR2_PACKAGE_BIRD_MRT),mrt) \
+ $(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \
+ $(if $(BR2_PACKAGE_BIRD_PERF),perf) \
+ $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \
+ $(if $(BR2_PACKAGE_BIRD_RADV),radv) \
+ $(if $(BR2_PACKAGE_BIRD_RIP),rip) \
+ $(if $(BR2_PACKAGE_BIRD_STATIC),static)
+
+BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS)))
+
$(eval $(autotools-package))