|
@@ -1,15 +1,19 @@
|
|
|
config BR2_PACKAGE_FRR
|
|
|
bool "frr"
|
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
|
|
|
depends on !BR2_STATIC_LIBS # libyang
|
|
|
depends on BR2_USE_MMU # fork()
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, libyang
|
|
|
+ depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
|
|
+ depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c
|
|
|
+ depends on BR2_HOST_GCC_AT_LEAST_7 # protobuf-c
|
|
|
select BR2_PACKAGE_BASH
|
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
|
|
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
|
|
select BR2_PACKAGE_LIBYANG
|
|
|
select BR2_PACKAGE_READLINE
|
|
|
select BR2_PACKAGE_JSON_C
|
|
|
+ select BR2_PACKAGE_PROTOBUF_C
|
|
|
help
|
|
|
The FRRouting Protocol Suite.
|
|
|
|
|
@@ -34,7 +38,9 @@ config BR2_PACKAGE_FRR_NHRPD
|
|
|
|
|
|
endif
|
|
|
|
|
|
-comment "frr needs a toolchain w/ threads, dynamic library"
|
|
|
+comment "frr needs a toolchain w/ threads, dynamic library, C++, host gcc >= 7"
|
|
|
+ depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
|
depends on BR2_USE_MMU
|
|
|
- depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
|
+ !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_7
|