xorg: depend on WCHAR and LOCALE

Xorg needs WCHAR and LOCALE, so make sure it cannot be selected unless
this is enabled in the toolchain.

We unfortunately cannot make BR2_XSERVER_xorg depend on BR2_USE_LOCALE
because of a strange recursion error with dbus, but now we atleast
inform the user what to do to get a working configuration.

The real solution is ofcause of fix xorg, but that's for another day.
This commit is contained in:
Peter Korsgaard 2008-08-22 14:24:53 +00:00
parent 9e9e354a83
commit bf83d53080

View File

@ -353,6 +353,10 @@ config BR2_PACKAGE_XSERVER_none
default y
config BR2_PACKAGE_XSERVER_xorg
bool "modular xorg"
depends on BR2_USE_WCHAR # && BR2_ENABLE_LOCALE
# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
comment "xorg requires a toolchain with LOCALE and WCHAR support"
depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
config BR2_PACKAGE_XSERVER_tinyx
bool "tinyx"
endmenu