* Sets xserver mouse option to use tslib on Freescale
iMx targets, this is only used if Kdrive (Tiny X) Xserver
is used.
* Current xserver used is xserver-xf86-lite.
Signed-off-by: Adrian Alonso <b38018@freescale.com>
--- /dev/null
+Index: x11-common/etc/X11/Xserver
+===================================================================
+--- x11-common.orig/etc/X11/Xserver
++++ x11-common/etc/X11/Xserver
+@@ -56,6 +56,8 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
+ ARGS="$ARGS -mouse tslib" ;;
+ "Nokia 770")
+ ARGS="$ARGS -mouse tslib" ;;
++ "Freescale"*)
++ ARGS="$ARGS -mouse tslib,2,device=/dev/input/touchscreen0" ;;
+ *)
+ ;;
+ esac
--- /dev/null
+# Append path to include custom Xserver arguments
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
+SRC_URI_append += "file://Xserver-imx53-platform-support.patch"