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>
This commit is contained in:
Peter Korsgaard 2009-10-08 21:22:16 +02:00
parent 6ef1705c42
commit c9a2b035ee

View File

@ -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