summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-01-19 13:08:14 +0000
committerRoss Burton <ross@openedhand.com>2007-01-19 13:08:14 +0000
commit6d1509baa72537db5e83be83226066d7fdd47540 (patch)
treed556e43297480e10347e60e4ad8ac72fedf87701
parentac853b7fea52985be3dbf2aff0d028bdf5d55a66 (diff)
downloadopenembedded-core-6d1509baa72537db5e83be83226066d7fdd47540.tar.gz
openembedded-core-6d1509baa72537db5e83be83226066d7fdd47540.tar.bz2
openembedded-core-6d1509baa72537db5e83be83226066d7fdd47540.tar.xz
openembedded-core-6d1509baa72537db5e83be83226066d7fdd47540.zip
Add package to install pointercal files, and provide a pointercal for akita
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1167 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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}/
+}