Răsfoiți Sursa

x11r7: tweak kconfig

Show comment about what to enable in toolchain to make modular X.org
visible, and move comment about x11r7 toolchain dependency to end,
as otherwise kconfig gets confused and doesn't put X options under
the x11r7 menuconfig.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 16 ani în urmă
părinte
comite
c9a2b035ee
1 a modificat fișierele cu 6 adăugiri și 3 ștergeri
  1. 6 3
      package/x11r7/Config.in

+ 6 - 3
package/x11r7/Config.in

@@ -9,9 +9,6 @@ menuconfig BR2_PACKAGE_XORG7
 	  Support for X11R7 libraries, servers, drivers, and/or
 	  applications in the target.
 
-comment "X.org requires a toolchain with WCHAR support"
-        depends on !BR2_USE_WCHAR
-
 if BR2_PACKAGE_XORG7
 
 choice
@@ -25,6 +22,9 @@ config BR2_PACKAGE_XSERVER_xorg
 	# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
 	depends on BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP # && BR2_ENABLE_LOCALE
 
+comment 'X.org requires largefile, locale and C++ support'
+	depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_ENABLE_LOCALE)
+
 config BR2_PACKAGE_XSERVER_tinyx
 	bool "TinyX"
 
@@ -330,3 +330,6 @@ endmenu
 		source package/x11r7/xkeyboard-config/Config.in
 	endmenu
 endif
+
+comment "X.org requires a toolchain with WCHAR support"
+        depends on !BR2_USE_WCHAR