From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 06/28] xserver_xorg-server: option to build KDrive input drivers
Date: Wed, 09 Jan 2013 00:01:01 +0100 [thread overview]
Message-ID: <50ECA52D.90900@mind.be> (raw)
In-Reply-To: <9b6d564efd282b2d5d7119ffc4a5e1842f1e72ff.1357507764.git.thomas.petazzoni@free-electrons.com>
On 01/06/13 22:29, Thomas Petazzoni wrote:
> When the Kdrive variant of the X server is selected, the drivers are
> directly built into the X server. The X server therefore provides
> options to enable or disable certain drivers, especially input
> drivers.
>
> This patch adds options to be able to enable or disable the evdev, kbd
> and mouse drivers of Kdrive.
>
> Signed-off-by: Thomas Petazzoni<thomas.petazzoni@free-electrons.com>
> ---
> package/x11r7/xserver_xorg-server/Config.in | 29 ++++++++++++++++++++
> .../xserver_xorg-server/xserver_xorg-server.mk | 19 +++++++++++++
> 2 files changed, 48 insertions(+)
>
> diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in
> index 4ac0ec7..2382786 100644
> --- a/package/x11r7/xserver_xorg-server/Config.in
> +++ b/package/x11r7/xserver_xorg-server/Config.in
> @@ -87,6 +87,35 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX
> help
> Enable/Use AIGLX extension.
>
> +if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
> +
> +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV
> + bool "Enable KDrive/TinyX evdev input driver"
> + help
> + Enable evdev input driver in KDrive. This allows KDrive to
> + use input devices that are integrated in the Linux input
> + subsystem, i.e have a /dev/input/eventX device file. This is
> + most likely the input driver you want to use.
> +
> + This driver can then be enabled by running the X server
> + using:
Indentation seems to be screwed up a bit here... Actually, there are
not tabs at all!
> +
> + Xfbdev -keybd evdev,,device=/dev/input/eventX -mouse evdev,,device=/dev/input/eventY.
> +
> +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD
> + bool "Enable KDrive/TinyX kbd input driver"
> + help
> + Enable kbd input driver in KDrive. It uses the console
> + keyboard as input device.
> +
> +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE
> + bool "Enable KDrive/TinyX mouse input driver"
> + help
> + Enable mouse input driver in KDrive. It supports PS/2 mice
> + and serial port mice.
> +
> +endif
> +
> comment "Optional Servers"
>
> config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB
> diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> index 623b25d..552d8e8 100644
> --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> @@ -76,6 +76,25 @@ define XSERVER_CREATE_X_SYMLINK
> ln -f -s Xfbdev $(TARGET_DIR)/usr/bin/X
> endef
> XSERVER_XORG_SERVER_POST_INSTALL_TARGET_HOOKS += XSERVER_CREATE_X_SYMLINK
> +
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV),y)
> +XSERVER_XORG_SERVER_CONF_OPT += --enable-kdrive-evdev
> +else
> +XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive-evdev
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD),y)
> +XSERVER_XORG_SERVER_CONF_OPT += --enable-kdrive-kbd
> +else
> +XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive-kbd
> +endif
> +
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE),y)
> +XSERVER_XORG_SERVER_CONF_OPT += --enable-kdrive-mouse
> +else
> +XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive-mouse
> +endif
> +
> else
With your addition this else is moving very far from the if, so a
comment would be useful.
Regards,
Arnout
> XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive --disable-xfbdev
> endif
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-01-08 23:01 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-06 21:29 [Buildroot] [pull request] Pull request for branch xorg-improvements Thomas Petazzoni
2013-01-06 21:29 ` [Buildroot] [PATCH 01/28] x11r7: move X.org server style option Thomas Petazzoni
2013-01-08 22:54 ` Arnout Vandecappelle
2013-01-06 21:29 ` [Buildroot] [PATCH 02/28] x11r7: remove useless depends on of X.org drivers Thomas Petazzoni
2013-01-08 22:55 ` Arnout Vandecappelle
2013-01-06 21:29 ` [Buildroot] [PATCH 03/28] x11r7: fix indentation Thomas Petazzoni
2013-01-08 22:55 ` Arnout Vandecappelle
2013-01-06 21:29 ` [Buildroot] [PATCH 04/28] xserver-xorg_server: Mention that TinyX is also known as Kdrive Thomas Petazzoni
2013-01-08 22:55 ` Arnout Vandecappelle
2013-01-06 21:29 ` [Buildroot] [PATCH 05/28] xserver_xorg-server: rename server-style configuration options Thomas Petazzoni
2013-01-08 22:56 ` Arnout Vandecappelle
2013-01-06 21:29 ` [Buildroot] [PATCH 06/28] xserver_xorg-server: option to build KDrive input drivers Thomas Petazzoni
2013-01-08 23:01 ` Arnout Vandecappelle [this message]
2013-01-06 21:29 ` [Buildroot] [PATCH 07/28] xserver_xorg-server: add more explanations about the two variants Thomas Petazzoni
2013-01-08 23:08 ` Arnout Vandecappelle
2013-01-12 21:34 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 08/28] x11r7: do not globally select libraries Thomas Petazzoni
2013-01-08 23:21 ` Arnout Vandecappelle
2013-01-08 23:29 ` Thomas Petazzoni
2013-01-12 21:34 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 09/28] xlib_libX11: do not depend on bigreqsproto nor xcmiscproto Thomas Petazzoni
2013-01-12 21:35 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 10/28] xlib_libX11: split the DEPENDENCIES variable on multiple lines Thomas Petazzoni
2013-01-08 23:22 ` Arnout Vandecappelle
2013-01-12 21:36 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 11/28] libsha1: new package Thomas Petazzoni
2013-01-12 21:37 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 12/28] xserver_xorg-server: provide more options for SHA1 library Thomas Petazzoni
2013-01-12 21:39 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 13/28] cairo: do not depend on xserver-xorg_server, but on the right library Thomas Petazzoni
2013-01-12 21:40 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 14/28] cairo: always enable XCB support when X backend is enabled Thomas Petazzoni
2013-01-12 21:41 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 15/28] docker: depend on xlib_libX11 and not the X.org server Thomas Petazzoni
2013-01-12 21:42 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 16/28] fltk: replace dependency on X.org server with dependency on libraries Thomas Petazzoni
2013-01-12 21:43 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 17/28] libgtk2: replace dependency on X.org server by " Thomas Petazzoni
2013-01-12 21:44 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 18/28] libgtk2: add support for some optional X dependencies Thomas Petazzoni
2013-01-12 21:45 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 19/28] atk: remove useless configuration options Thomas Petazzoni
2013-01-12 21:46 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 20/28] atk: remove unused host variant Thomas Petazzoni
2013-01-12 21:48 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 21/28] pango: fix X.org dependencies Thomas Petazzoni
2013-01-12 21:49 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 22/28] metacity: " Thomas Petazzoni
2013-01-12 21:50 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 23/28] rubix: fix X.org dependency Thomas Petazzoni
2013-01-12 21:50 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 24/28] torsmo: " Thomas Petazzoni
2013-01-12 21:51 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 25/28] xvkbd: fix X.org dependencies Thomas Petazzoni
2013-01-12 21:51 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 26/28] xvkbd: turn into a generic-package Thomas Petazzoni
2013-01-12 21:52 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 27/28] xvkbd: remove version from the patch file name Thomas Petazzoni
2013-01-12 21:53 ` Peter Korsgaard
2013-01-06 21:29 ` [Buildroot] [PATCH 28/28] webkit: remove X.org server dependency Thomas Petazzoni
2013-01-12 21:53 ` Peter Korsgaard
2013-01-08 23:22 ` [Buildroot] [pull request] Pull request for branch xorg-improvements Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50ECA52D.90900@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.