mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/bird: add optional protocols
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr> [Thomas: - use proper variable names in .mk file - add comment in Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
66251daaa3
commit
529fef57f6
@ -20,4 +20,52 @@ config BR2_PACKAGE_BIRD_CLIENT
|
|||||||
help
|
help
|
||||||
Enable the BIRD client
|
Enable the BIRD client
|
||||||
|
|
||||||
|
comment "protocol support"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_BABEL
|
||||||
|
bool "babel"
|
||||||
|
help
|
||||||
|
Enable Babel protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_BFD
|
||||||
|
bool "bfd"
|
||||||
|
help
|
||||||
|
Enable BFD protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_BGP
|
||||||
|
bool "bgp"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enable BGP protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_MRT
|
||||||
|
bool "mrt"
|
||||||
|
help
|
||||||
|
Enable MRT protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_OSPF
|
||||||
|
bool "ospf"
|
||||||
|
help
|
||||||
|
Enable OSPFv2 and OSPFv3 protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_PERF
|
||||||
|
bool "perf"
|
||||||
|
help
|
||||||
|
Enable Perf protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_PIPE
|
||||||
|
bool "pipe"
|
||||||
|
help
|
||||||
|
Enable Pipe protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_RADV
|
||||||
|
bool "radv"
|
||||||
|
help
|
||||||
|
Enable RAdv protocol.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BIRD_STATIC
|
||||||
|
bool "static"
|
||||||
|
help
|
||||||
|
Enable Static protocol.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -17,4 +17,20 @@ else
|
|||||||
BIRD_CONF_OPTS += --disable-client
|
BIRD_CONF_OPTS += --disable-client
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user