package/frr: add zeromq optional dependency

zeromq is an optional dependency since version 4.0 and
b6116506ec

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-12-16 19:57:10 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 7f38ce2103
commit 7bb6ebea99

View File

@ -42,6 +42,13 @@ else
FRR_CONF_OPTS += --disable-capabilities
endif
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
FRR_DEPENDENCIES += zeromq
FRR_CONF_OPTS += --enable-zeromq
else
FRR_CONF_OPTS += --disable-zeromq
endif
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
FRR_CONF_ENV += LIBS=-latomic
endif