Only build tinyX if WCHAR and LOCALE is enabled

This commit is contained in:
Ulf Samuelsson 2007-08-13 20:49:58 +00:00
parent 0f23053a22
commit 5283c21dda
2 changed files with 5 additions and 0 deletions

View File

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

View File

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