aboutsummaryrefslogtreecommitdiffstats
path: root/package/x11r7
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-17 14:20:06 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-17 14:20:06 +0200
commit1956d0f6d640a1acff7ab09be99e890fc202839b (patch)
treee9dfba1922bcbf20bd21cddc5b41bb2903809d57 /package/x11r7
parentea536503331aea875e84ae598b4610fbd059f167 (diff)
downloadbuildroot-novena-1956d0f6d640a1acff7ab09be99e890fc202839b.tar.gz
buildroot-novena-1956d0f6d640a1acff7ab09be99e890fc202839b.zip
xorg: reorganize the selection of the X.org server type
The selection of the X.org server type was really strange. The user had to select between none, tinyx and modular. Now, the menuconfig interface display a single item for X.org, that can be selected/unselected. This entry contains a submenu, that allows to select the type of the X.org server (tinyX or modular) and that allows (as before) to enable/disable X.org libraries, drivers, etc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/x11r7')
-rw-r--r--package/x11r7/Config.in31
1 files changed, 28 insertions, 3 deletions
diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 0720e3fac..7af62ee07 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -10,9 +10,34 @@ help
applications in the target.
if BR2_PACKAGE_XORG7
- menu "X11R7 Servers"
- source package/x11r7/xserver_xorg-server/Config.in
- endmenu
+
+choice
+ prompt "X Window System server type"
+ default BR2_PACKAGE_XSERVER_tinyx
+ help
+ Select the X Window System server to use
+
+config BR2_PACKAGE_XSERVER_xorg
+ bool "Modular X.org"
+ # depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
+ depends on BR2_USE_WCHAR && BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP # && BR2_ENABLE_LOCALE
+
+config BR2_PACKAGE_XSERVER_tinyx
+ bool "TinyX"
+ depends on BR2_USE_WCHAR
+
+endchoice
+
+config BR2_X11_PREFIX
+ string
+ default "/usr/X11R6" if BR2_PACKAGE_XSERVER_xorg
+ default "/usr" if BR2_PACKAGE_XSERVER_tinyx
+ help
+ X11 apps root location
+
+menu "X11R7 Servers"
+ source package/x11r7/xserver_xorg-server/Config.in
+endmenu
menu "X11R7 Libraries"
source package/x11r7/libxcb/Config.in
source package/x11r7/mesa3d/Config.in