From 83cc37a0b234970cad2fe6d028cb1c00642e7ec3 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 4 Aug 2009 17:07:19 +0200 Subject: webkit: only show the rendering backend choice when webkit is enabled Signed-off-by: Thomas Petazzoni --- package/webkit/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/webkit/Config.in b/package/webkit/Config.in index e436f9acf..ecf869429 100644 --- a/package/webkit/Config.in +++ b/package/webkit/Config.in @@ -18,6 +18,8 @@ config BR2_PACKAGE_WEBKIT comment "webkit requires a toolchain with C++ support and WCHAR enabled" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +if BR2_PACKAGE_WEBKIT + choice prompt "Rendering target" default BR2_PACKAGE_WEBKIT_X @@ -32,3 +34,5 @@ config BR2_PACKAGE_WEBKIT_DIRECTFB select BR2_PACKAGE_DIRECTFB endchoice + +endif -- cgit v1.2.3 From 070424f0c84a68078ac08fdc908542830f3d843f Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 4 Aug 2009 17:16:03 +0200 Subject: ipsec-tools: only show the security context choice when ipsec enabled Signed-off-by: Thomas Petazzoni --- package/ipsec-tools/Config.in | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3