ipsec-tools: only show the security context choice when ipsec enabled

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2009-08-04 17:16:03 +02:00
parent 83cc37a0b2
commit 070424f0c8

View File

@ -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