summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/poky.conf3
-rw-r--r--meta/packages/pointercal/files/akita/pointercal1
-rw-r--r--meta/packages/pointercal/pointercal.bb11
3 files changed, 15 insertions, 0 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index de2a6a6c6..65eacebed 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -189,6 +189,9 @@ DISTRO_FEATURES_cmx270 = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost"
DISTRO_EXTRA_RDEPENDS_qemuarm += "qemu-distcc"
DISTRO_EXTRA_RDEPENDS_qemux86 += "qemu-distcc"
+# Pre-packaged touch screen calibration data
+DISTRO_EXTRA_RDEPENDS_akita += "pointercal"
+
IMAGE_FEATURES ?= ""
DISTRO_TASKS = "\
diff --git a/meta/packages/pointercal/files/akita/pointercal b/meta/packages/pointercal/files/akita/pointercal
new file mode 100644
index 000000000..89f407efb
--- /dev/null
+++ b/meta/packages/pointercal/files/akita/pointercal
@@ -0,0 +1 @@
+12 -8946 33795672 12135 73 -2444604 65536
diff --git a/meta/packages/pointercal/pointercal.bb b/meta/packages/pointercal/pointercal.bb
new file mode 100644
index 000000000..a87980e4e
--- /dev/null
+++ b/meta/packages/pointercal/pointercal.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Touchscreen calibration data"
+SECTION = "base"
+
+PACKAGE_ARCH = ${MACHINE_ARCH}
+SRC_URI = "file://pointercal"
+S=${WORKDIR}
+
+do_install() {
+ install -d ${D}${sysconfdir}/
+ install -m 0644 ${S}/pointercal ${D}${sysconfdir}/
+}