webkit: only show the rendering backend choice when webkit is enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Aug 2009 15:07:19 +0000 (17:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Aug 2009 15:14:50 +0000 (17:14 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webkit/Config.in

index e436f9acfd825ed3d63330beab9e5b36ddbc98c8..ecf8694291bdd4f7ab936852ce34372e1f028588 100644 (file)
@@ -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