summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pointercal/pointercal_0.0.bb
blob: 6565c6bac16885ab89d661f80a66034a39d830cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Touchscreen calibration data"
SECTION = "base"
PR = "r10"

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}"