kumquat-buildroot/package/libnftnl/Config.in
Peter Korsgaard d8bef8038d libnftnl: needs kernel headers >= 3.1
Contrary to what commit f5866484f (libnftnl: exclude for CS PPC toolchains)
stated, a missing sa_family_t definition IS specific to the kernel headers
version, and not something particular to the CS toolchains, so instead
require 3.1+ headers.

The specific kernel change fixing the headers is:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6602a4baf4d1a73cc

The only reverse dependency of libnftnl (nftables) already needs 3.4+, so
this dependency doesn't need to be propagated.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-13 15:31:59 +02:00

36 lines
959 B
Plaintext

comment "libnftnl needs a toolchain w/ headers >= 3.1"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
config BR2_PACKAGE_LIBNFTNL
bool "libnftnl"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
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
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"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_MXML
help
Enable XML parsing support
comment "libnftnl XML parsing support needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
endif