package/frr: add libcap support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
3d605443ce
commit
cfc2821baf
@ -29,11 +29,17 @@ FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
|
||||
--enable-user=frr \
|
||||
--enable-group=frr \
|
||||
--enable-vty-group=frrvty \
|
||||
--disable-capabilities \
|
||||
--enable-fpm
|
||||
|
||||
HOST_FRR_CONF_OPTS = --enable-clippy-only
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
FRR_DEPENDENCIES += libcap
|
||||
FRR_CONF_OPTS += --enable-capabilities
|
||||
else
|
||||
FRR_CONF_OPTS += --disable-capabilities
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
FRR_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user