ulogd: only for kernels <= 3.16.x
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 8 Oct 2014 17:32:55 +0000 (14:32 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 8 Oct 2014 18:48:04 +0000 (20:48 +0200)
The ulog netfilter target has been deprecated for some time and removed
in kernels >= 3.17.x so limit it to older headers. Fixes:
http://autobuild.buildroot.net/results/9ca/9ca43764c7363f9a00b8a0c7df20a492c00088b5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ulogd/Config.in

index 04acf0c501c271cfcb417972c5d89351850dad00..c7929730102fad0fb8226266d2addd7f7f2f08d0 100644 (file)
@@ -4,6 +4,8 @@ config BR2_PACKAGE_ULOGD
        depends on BR2_LARGEFILE
        depends on !BR2_PREFER_STATIC_LIB
        depends on BR2_USE_MMU
+       # ulog support removed for kernels >= 3.17
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
        select BR2_PACKAGE_LIBMNL
        select BR2_PACKAGE_LIBNETFILTER_ACCT
        select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
@@ -17,3 +19,4 @@ config BR2_PACKAGE_ULOGD
 comment "ulogd needs a toolchain w/ IPv6, largefile, dynamic library"
        depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
        depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17