Explorar o código

Only build tinyX if WCHAR and LOCALE is enabled

Ulf Samuelsson %!s(int64=18) %!d(string=hai) anos
pai
achega
5283c21dda
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 3 0
      package/Config.in
  2. 2 0
      package/tinyx/Config.in

+ 3 - 0
package/Config.in

@@ -305,6 +305,7 @@ prompt "X Window System server"
 	  Xserver to use.
 	  Xserver to use.
 	  For more information about the X protocol see
 	  For more information about the X protocol see
 	  http://www.x.org
 	  http://www.x.org
+	  You may have to enable LOCALE and WCHAR to build
 
 
 config BR2_PACKAGE_XSERVER_none
 config BR2_PACKAGE_XSERVER_none
 	bool "none"
 	bool "none"
@@ -314,6 +315,8 @@ config BR2_PACKAGE_XSERVER_xorg
 	bool "xorg"
 	bool "xorg"
 config BR2_PACKAGE_XSERVER_tinyx
 config BR2_PACKAGE_XSERVER_tinyx
 	bool "tinyx"
 	bool "tinyx"
+	depends on BR2_USE_WCHAR
+	depends on BR2_ENABLE_LOCALE
 endchoice
 endchoice
 if BR2_PACKAGE_XSERVER_x11r7
 if BR2_PACKAGE_XSERVER_x11r7
 source "package/x11r7/Config.in"
 source "package/x11r7/Config.in"

+ 2 - 0
package/tinyx/Config.in

@@ -1,6 +1,8 @@
 config BR2_PACKAGE_TINYX
 config BR2_PACKAGE_TINYX
 	bool "tinyx"
 	bool "tinyx"
 	default y if BR2_PACKAGE_XSERVER_tinyx
 	default y if BR2_PACKAGE_XSERVER_tinyx
+	depends on BR2_USE_WCHAR
+	depends on BR2_ENABLE_LOCALE
 	help
 	help
 	  A tiny X server.  Also known as 'Xfbdev' and 'kdrive'.
 	  A tiny X server.  Also known as 'Xfbdev' and 'kdrive'.