Revert "package/libcap: Fix build error with kernel headers < 3.6"
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 10:58:58 +0000 (11:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 10:58:58 +0000 (11:58 +0100)
This reverts commit a759931c9b0cb4337dc30fd35d03ce123271c5a4.

package/cdrkit/Config.in
package/libcap/Config.in
package/lxc/Config.in
package/squid/Config.in
package/systemd/Config.in

index cfbddb87c7f5b5ba5f56f1c8dd3a7cfa1d34d7dd..9ba5dbf22f5cebf89f07aa3ad74b501cec58953a 100644 (file)
@@ -3,7 +3,6 @@ config BR2_PACKAGE_CDRKIT
        select BR2_PACKAGE_BZIP2
        select BR2_PACKAGE_LIBCAP
        depends on BR2_LARGEFILE
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # libcap
        depends on BR2_USE_MMU # fork
        bool "cdrkit"
        help
@@ -13,6 +12,6 @@ config BR2_PACKAGE_CDRKIT
 
          http://www.cdrkit.org/
 
-comment "cdrkit needs a toolchain w/ largefile, headers >= 3.7"
+comment "cdrkit needs a toolchain w/ largefile"
        depends on BR2_USE_MMU
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+       depends on !BR2_LARGEFILE
index a0199284eac44d56e76c3997fc88f0262c92f095..5b0c827191f930ee3b11cc8fbf2c81dd983d2580 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBCAP
        bool "libcap"
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
        help
          This library implements the user-space interfaces to the
          POSIX 1003.1e capabilities available in Linux kernels. These
@@ -23,6 +22,3 @@ config BR2_PACKAGE_LIBCAP_TOOLS
          CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2).
 
 endif
-
-comment "libcap needs headers >= 3.7"
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
index bae83b9000c40d89593e25686ef02e9530f100a6..3eae64ac3467801e89ddf12f67614822e9b830b7 100644 (file)
@@ -3,7 +3,6 @@ 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
@@ -15,9 +14,8 @@ config BR2_PACKAGE_LXC
 
          https://linuxcontainers.org/
 
-comment "lxc needs a toolchain w/ IPv6, threads, largefile, headers >= 3.7"
+comment "lxc needs a toolchain w/ IPv6, threads, largefile"
        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 || \
-               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+       depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
index 4fadd0407ada57344e998e53ea1233211f59d3b0..ad9fab5931326fadc370a5654660a3a8635d4547 100644 (file)
@@ -1,14 +1,12 @@
-comment "squid needs a toolchain w/ C++, IPv6, headers >= 3.7"
+comment "squid needs a toolchain w/ C++, IPv6"
        depends on BR2_USE_MMU
        depends on !BR2_avr32 # toolchain too old
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6 || \
-               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6
 
 config BR2_PACKAGE_SQUID
        bool "squid"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_INET_IPV6
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # libcap
        # needs fork()
        depends on BR2_USE_MMU
        select BR2_PACKAGE_LIBCAP
index be289757d0a0429fe7845073c585cce0e1c0f019..58f76a5dbf60aa5121720b9ac95ec70bd86e2d34 100644 (file)
@@ -15,7 +15,6 @@ config BR2_PACKAGE_SYSTEMD
        depends on BR2_INET_IPV6
        depends on !BR2_PREFER_STATIC_LIB # kmod
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # libcap
        depends on BR2_USE_MMU # dbus
        select BR2_PACKAGE_HAS_UDEV
        select BR2_PACKAGE_DBUS # runtime dependency only