From 9070a7355b443c01760876bd8870a8ab7cc87286 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 21 Jul 2021 08:45:13 +0200 Subject: [PATCH] package/bird: add rpki support rpki support optionally depends on libssh Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/bird/Config.in | 5 +++++ package/bird/bird.mk | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/package/bird/Config.in b/package/bird/Config.in index e78dfdf90f..866fc65617 100644 --- a/package/bird/Config.in +++ b/package/bird/Config.in @@ -73,6 +73,11 @@ config BR2_PACKAGE_BIRD_RIP help Enable RIP protocol. +config BR2_PACKAGE_BIRD_RPKI + bool "rpki" + help + Enable RPKI protocol. + config BR2_PACKAGE_BIRD_STATIC bool "static" help diff --git a/package/bird/bird.mk b/package/bird/bird.mk index 4d4dfe1dca..4d6159b075 100644 --- a/package/bird/bird.mk +++ b/package/bird/bird.mk @@ -19,6 +19,13 @@ else BIRD_CONF_OPTS += --disable-client endif +ifeq ($(BR2_PACKAGE_LIBSSH),y) +BIRD_CONF_OPTS += --enable-libssh +BIRD_DEPENDENCIES += libssh +else +BIRD_CONF_OPTS += --disable-libssh +endif + BIRD_PROTOCOLS = \ $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \ $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \ @@ -29,6 +36,7 @@ BIRD_PROTOCOLS = \ $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \ $(if $(BR2_PACKAGE_BIRD_RADV),radv) \ $(if $(BR2_PACKAGE_BIRD_RIP),rip) \ + $(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \ $(if $(BR2_PACKAGE_BIRD_STATIC),static) BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS))) -- 2.30.2