Sfoglia il codice sorgente

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 16 anni fa
parent
commit
070424f0c8
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      package/ipsec-tools/Config.in

+ 4 - 0
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