aboutsummaryrefslogtreecommitdiff
path: root/package/libnftnl
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-03-03 22:58:50 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-04 19:38:05 +0100
commitf5866484ffe9eee32b020ee11d323404c471d7b4 (patch)
tree07de6d51758d24a78b5c00b0f604874f862e2191 /package/libnftnl
parentdee312694f8ed1764290dae5cb22380ffceb2035 (diff)
downloadbuildroot-f5866484ffe9eee32b020ee11d323404c471d7b4.tar.gz
buildroot-f5866484ffe9eee32b020ee11d323404c471d7b4.tar.bz2
libnftnl: exclude for CS PPC toolchains
The CS PPC 2011.3 and 2010.9 toolchains have a bad linux/socket.h header that doesn't define sa_family_t which is used by linux/netlink.h (and libnftnl). Patching external toolchain headers wouldn't be too nice and they seem to be the only CS toolchains affected. It's definitely NOT a kernel header version issue, the toolchain is based on 2.6.38 headers and vanilla 2.6.38 has the proper definitions in place. Fixes: http://autobuild.buildroot.net/results/1e2/1e2cac84f0faa9b8915a628260ef41765d86e174/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libnftnl')
-rw-r--r--package/libnftnl/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libnftnl/Config.in b/package/libnftnl/Config.in
index 75ca51910f..ffd9d5b8b7 100644
--- a/package/libnftnl/Config.in
+++ b/package/libnftnl/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_LIBNFTNL
depends on BR2_INET_IPV6
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # bad headers, no sa_family_t in linux/socket.h
+ depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
select BR2_PACKAGE_LIBMNL
help
libnftnl is a userspace library providing a low-level