summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-08-04 17:16:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-08-04 17:16:03 +0200
commit070424f0c84a68078ac08fdc908542830f3d843f (patch)
treea82271a6dbca672d79d1ba537087593650f96dab /package
parent83cc37a0b234970cad2fe6d028cb1c00642e7ec3 (diff)
ipsec-tools: only show the security context choice when ipsec enabled
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/ipsec-tools/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ipsec-tools/Config.in b/package/ipsec-tools/Config.in
index a55ff0c2d..d29cb8604 100644
--- a/package/ipsec-tools/Config.in
+++ b/package/ipsec-tools/Config.in
@@ -61,6 +61,8 @@ config BR2_PACKAGE_IPSEC_TOOLS_LIBS
Install libipsec.a and libracoon.a under staging_dir/lib for further
development on a host machine.
+if BR2_PACKAGE_IPSEC_TOOLS
+
choice
prompt "Security context"
default BR2_PACKAGE_IPSEC_SECCTX_DISABLE
@@ -77,3 +79,5 @@ config BR2_PACKAGE_IPSEC_SECCTX_KERNEL
bool "Enable kernel security context"
endchoice
+
+endif