kernel: cleanup seccomp symbol selection
authorJohn Crispin <john@openwrt.org>
Thu, 26 Mar 2015 10:57:51 +0000 (10:57 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 26 Mar 2015 10:57:51 +0000 (10:57 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45005

config/Config-kernel.in

index 6bf65f5..8471129 100644 (file)
@@ -516,16 +516,14 @@ if KERNEL_LXC_MISC
 
 endif
 
+config KERNEL_SECCOMP_FILTER
+       bool
+       default n
+
 config KERNEL_SECCOMP
        bool "Enable seccomp support"
                depends on !(TARGET_uml)
+               select KERNEL_SECCOMP_FILTER
                default n
                help
                  Build kernel with support for seccomp.
-
-config KERNEL_SECCOMP_FILTER
-       bool "Enable seccomp filter support"
-               depends on KERNEL_SECCOMP
-               default n
-               help
-                 Build kernel with support for seccomp BPF programs.