Signed-off-by: Peter Hutterer <[email protected]>
---
Well, that'll teach me to send untested patches. Sorry.

Changes to v1:
- add libinput special handling to clone()
- confirmed it actually worked :)

 build.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 369afc8..01c396d 100755
--- a/build.sh
+++ b/build.sh
@@ -516,6 +516,9 @@ clone() {
     "libevdev")
         BASEDIR=""
         ;;
+    "libinput")
+       BASEDIR="wayland/"
+       ;;
     *)
         BASEDIR="xorg/"
         ;;
@@ -1154,12 +1157,16 @@ build_all_modules() {
     build app xwud
     build xserver ""
     case $HOST_OS in
-       Linux) build libevdev "";;
+       Linux)
+           build libevdev ""
+           build libinput ""
+           ;;
     esac
     case $HOST_OS in
        Linux)
            build driver xf86-input-evdev
            build driver xf86-input-joystick
+           build driver xf86-input-libinput
            ;;
        FreeBSD | NetBSD | OpenBSD | Dragonfly | GNU/kFreeBSD)
            build driver xf86-input-joystick
-- 
2.7.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to