[Buildroot] [PATCH 2/2] ipsec-tools: only show the security context choice when ipsec enabled

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 4 15:17:08 UTC 2009


Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/ipsec-tools/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/ipsec-tools/Config.in b/package/ipsec-tools/Config.in
index a55ff0c..d29cb86 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
-- 
1.6.0.4




More information about the buildroot mailing list