浏览代码

qt: put the Qt options into a submenu

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>
Thomas Petazzoni 16 年之前
父节点
当前提交
2845fa66ce
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      package/qt/Config.in

+ 4 - 4
package/qt/Config.in

@@ -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