summaryrefslogtreecommitdiff
path: root/package/libnftnl
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-05-13 15:27:28 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-05-13 15:31:59 +0200
commitd8bef8038dfd43ca24a5f65bbb5c4990890b1b07 (patch)
tree9af79fa247ea82ddec335684db0085f3c017a784 /package/libnftnl
parent80e651db43a9cbd4da7149d091b1ba1fdbb7d678 (diff)
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>
Diffstat (limited to 'package/libnftnl')
-rw-r--r--package/libnftnl/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/libnftnl/Config.in b/package/libnftnl/Config.in
index dcbfde060..365ab1020 100644
--- a/package/libnftnl/Config.in
+++ b/package/libnftnl/Config.in
@@ -1,7 +1,9 @@
+comment "libnftnl needs a toolchain w/ headers >= 3.1"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
+
config BR2_PACKAGE_LIBNFTNL
bool "libnftnl"
- # bad headers, no sa_family_t in linux/socket.h
- depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
select BR2_PACKAGE_LIBMNL
help
libnftnl is a userspace library providing a low-level