aboutsummaryrefslogtreecommitdiff
path: root/package/lxc/Config.in
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-26 19:25:15 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-27 01:03:20 +0100
commita759931c9b0cb4337dc30fd35d03ce123271c5a4 (patch)
tree26b3d95bc586e36752e0d10f01a6328bb880a84f /package/lxc/Config.in
parente6debc2e078d06e0ac177a882d9f4268f5b37077 (diff)
downloadbuildroot-a759931c9b0cb4337dc30fd35d03ce123271c5a4.tar.gz
buildroot-a759931c9b0cb4337dc30fd35d03ce123271c5a4.tar.bz2
package/libcap: Fix build error with kernel headers < 3.6
Fixes http://autobuild.buildroot.net/results/cce/cceb1ccacec36fb7ef41bb7cdb13b3014813b599/ XATTR_NAME_CAPS appears in kernel headers since 3.7: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/include/uapi/linux/xattr.h?id=v3.7 Before it was an internal define of the kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lxc/Config.in')
-rw-r--r--package/lxc/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/lxc/Config.in b/package/lxc/Config.in
index 3eae64ac34..bae83b9000 100644
--- a/package/lxc/Config.in
+++ b/package/lxc/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LXC
select BR2_PACKAGE_LIBCAP
depends on BR2_INET_IPV6
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # libcap
depends on BR2_LARGEFILE
depends on BR2_USE_MMU # fork()
depends on !BR2_avr32 # no timerfd
@@ -14,8 +15,9 @@ config BR2_PACKAGE_LXC
https://linuxcontainers.org/
-comment "lxc needs a toolchain w/ IPv6, threads, largefile"
+comment "lxc needs a toolchain w/ IPv6, threads, largefile, headers >= 3.7"
depends on BR2_USE_MMU
depends on !BR2_avr32 # no timerfd
depends on !BR2_nios2 # the toolchain doesn't support setns syscall
- depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
+ depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7