2015-05-13 15:27:28 +02:00
|
|
|
comment "libnftnl needs a toolchain w/ headers >= 3.1"
|
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
|
|
|
|
2014-01-22 15:37:27 +01:00
|
|
|
config BR2_PACKAGE_LIBNFTNL
|
|
|
|
bool "libnftnl"
|
2015-05-13 15:27:28 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
2014-01-22 15:37:27 +01:00
|
|
|
select BR2_PACKAGE_LIBMNL
|
|
|
|
help
|
|
|
|
libnftnl is a userspace library providing a low-level
|
|
|
|
netlink programming interface (API) to the in-kernel
|
|
|
|
nf_tables subsystem. The library libnftnl has been
|
|
|
|
previously known as libnftables. This library is
|
|
|
|
currently used by nftables.
|
|
|
|
|
|
|
|
http://netfilter.org/projects/libnftnl/index.html
|
|
|
|
|
2014-01-23 15:00:02 +01:00
|
|
|
if BR2_PACKAGE_LIBNFTNL
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBNFTNL_JSON
|
|
|
|
bool "enable JSON support"
|
|
|
|
select BR2_PACKAGE_JANSSON
|
|
|
|
help
|
|
|
|
Enable JSON parsing support
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBNFTNL_XML
|
|
|
|
bool "enable XML support"
|
2015-01-18 15:23:20 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-01-23 15:00:02 +01:00
|
|
|
select BR2_PACKAGE_MXML
|
|
|
|
help
|
|
|
|
Enable XML parsing support
|
|
|
|
|
2015-01-18 15:23:20 +01:00
|
|
|
comment "libnftnl XML parsing support needs a toolchain w/ threads"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
2014-01-23 15:00:02 +01:00
|
|
|
endif
|