[Buildroot] [PATCH 2/4] qt: put the Qt options into a submenu

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 27 13:07:16 UTC 2009


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 at free-electrons.com>
---
 package/qt/Config.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/qt/Config.in b/package/qt/Config.in
index d68c923..59c691f 100644
--- a/package/qt/Config.in
+++ b/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
-- 
1.6.0.4




More information about the buildroot mailing list