summaryrefslogtreecommitdiffstats
path: root/rules/xorg-app-xinit.in
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-01-05 09:49:15 +0100
committerJuergen Beisert <jbe@pengutronix.de>2011-01-05 16:03:04 +0100
commit43df9b8dee3b40c6718d46e250bf365cf766f202 (patch)
treee4b6b79184ae811c42407d661665df7aa7b9b6f5 /rules/xorg-app-xinit.in
parentc75b051edb5436bafb34f2bd154f900acf5516ca (diff)
downloadptxdist-43df9b8dee3b40c6718d46e250bf365cf766f202.tar.gz
ptxdist-43df9b8dee3b40c6718d46e250bf365cf766f202.tar.xz
XORG: Install 'startx' on demand only
'startx' has some dependencies to other tools. This patch ensures they are present, when startx is going to be installed. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'rules/xorg-app-xinit.in')
-rw-r--r--rules/xorg-app-xinit.in18
1 files changed, 15 insertions, 3 deletions
diff --git a/rules/xorg-app-xinit.in b/rules/xorg-app-xinit.in
index 7225ef901..dc5f881fb 100644
--- a/rules/xorg-app-xinit.in
+++ b/rules/xorg-app-xinit.in
@@ -1,10 +1,22 @@
## SECTION=multimedia_xorg_app
-config XORG_APP_XINIT
+menuconfig XORG_APP_XINIT
tristate
select XORG_LIB_X11
+ select XORG_APP_XAUTH if XORG_APP_XINIT_STARTX
+ select UTIL_LINUX_NG if XORG_APP_XINIT_STARTX
+ select UTIL_LINUX_NG_MCOOKIE if XORG_APP_XINIT_STARTX
prompt "xorg xinit"
help
- This package provides xinit and startx, utilities for starting the
- X Window System server. This is from the modular X.org.
+ This package provides 'xinit' and 'startx', utilities for starting
+ the X Window System server. This is from the modular X.org.
+if XORG_APP_XINIT
+
+config XORG_APP_XINIT_STARTX
+ bool
+ prompt "Install the 'startx' shell script"
+ help
+ To run the X system on your target, just enter 'startx' in the shell.
+
+endif