qt: put the Qt options into a submenu
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Jul 2009 22:14:15 +0000 (00:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Jul 2009 22:18:41 +0000 (00:18 +0200)
Put the Qt options into a submenu to make the configuration interface
easier to use. The comment on the dependency on C++ has to be put
before the menuconfig definition, otherwise kconfig gets confused and
doesn't put the suboptions into a submenu.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt/Config.in

index d68c92392a5b54f88407e6ff1587fdf3eeca530a..59c691fc096902555bcb795b9158869c0521ce97 100644 (file)
@@ -1,4 +1,7 @@
-config BR2_PACKAGE_QT
+comment "qt requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
+
+menuconfig BR2_PACKAGE_QT
        bool "Qt"
        depends on BR2_INSTALL_LIBSTDCPP
        help
@@ -6,9 +9,6 @@ config BR2_PACKAGE_QT
 
          http://www.qtsoftware.com/products/platform/qt-for-embedded-linux
 
-comment "qt requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
-
 if BR2_PACKAGE_QT
 
 config BR2_PACKAGE_QT_DEBUG