summaryrefslogtreecommitdiff
path: root/recipes/pointercal/pointercal_0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pointercal/pointercal_0.0.bb')
-rw-r--r--recipes/pointercal/pointercal_0.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/pointercal/pointercal_0.0.bb b/recipes/pointercal/pointercal_0.0.bb
new file mode 100644
index 0000000000..dbb14c4432
--- /dev/null
+++ b/recipes/pointercal/pointercal_0.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Touchscreen calibration data"
+SECTION = "base"
+PR = "r12"
+
+SRC_URI = "file://pointercal"
+S = "${WORKDIR}"
+
+do_install() {
+ # Only install file if it has a contents
+ if [ -s ${S}/pointercal ]; then
+ install -d ${D}${sysconfdir}/
+ install -m 0644 ${S}/pointercal ${D}${sysconfdir}/
+ fi
+}
+
+ALLOW_EMPTY_${PN} = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+