Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
c9a2b035ee
Modificáronse 1 ficheiros con 6 adicións e 3 borrados
  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
 	  Support for X11R7 libraries, servers, drivers, and/or
 	  applications in the target.
 	  applications in the target.
 
 
-comment "X.org requires a toolchain with WCHAR support"
-        depends on !BR2_USE_WCHAR
-
 if BR2_PACKAGE_XORG7
 if BR2_PACKAGE_XORG7
 
 
 choice
 choice
@@ -25,6 +22,9 @@ config BR2_PACKAGE_XSERVER_xorg
 	# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
 	# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
 	depends on BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP # && BR2_ENABLE_LOCALE
 	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
 config BR2_PACKAGE_XSERVER_tinyx
 	bool "TinyX"
 	bool "TinyX"
 
 
@@ -330,3 +330,6 @@ endmenu
 		source package/x11r7/xkeyboard-config/Config.in
 		source package/x11r7/xkeyboard-config/Config.in
 	endmenu
 	endmenu
 endif
 endif
+
+comment "X.org requires a toolchain with WCHAR support"
+        depends on !BR2_USE_WCHAR