From: Thomas Petazzoni Date: Fri, 24 Jul 2009 22:14:15 +0000 (+0200) Subject: qt: put the Qt options into a submenu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2845fa66ce8efcf4a48a31e93832325ac1628cf1;p=buildroot.git 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 --- diff --git a/package/qt/Config.in b/package/qt/Config.in index d68c92392a..59c691fc09 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