[PATCH modular] build.sh: add libevdev as required by evdev input driver

Gaetan Nadon memsize at videotron.ca
Tue Oct 8 07:06:41 PDT 2013


This is a wrapper library for evdev devices. It is a dependency
for xf86-input-evdev and more modules later.

Only recent kernel versions are supported and there is currently no
check at configuration time, so you just get compile errors.

Building from tar file will not work at the moment as the .xv
format is not yet supported by build.sh.

Also note that the -o option is broken with single name modules
like pixman or libevdev. Use --modfile as a workaround to build
a single module.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 build.sh |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/build.sh b/build.sh
index 5cd0814..0bcb86b 100755
--- a/build.sh
+++ b/build.sh
@@ -302,6 +302,9 @@ clone() {
     "xkeyboard-config")
         BASEDIR=""
         ;;
+    "libevdev")
+        BASEDIR=""
+        ;;
     *)
         BASEDIR="xorg/"
         ;;
@@ -916,6 +919,12 @@ build_driver() {
         Darwin) return 0 ;;
     esac
 
+# Build the Wrapper library for evdev devices
+    case $HOST_OS in
+	Linux)
+	    build libevdev ""
+	    ;;
+    esac
     build_driver_input
     build_driver_video
 }
-- 
1.7.9.5



More information about the xorg-devel mailing list