xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Touchscreen calibration data"
2*4882a593SmuzhiyunSECTION = "base"
3*4882a593SmuzhiyunPR = "r11"
4*4882a593SmuzhiyunLICENSE = "MIT"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSRC_URI = "file://pointercal \
8*4882a593Smuzhiyun           file://COPYING"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunS = "${WORKDIR}"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundo_install() {
13*4882a593Smuzhiyun    # Only install file if it has a contents
14*4882a593Smuzhiyun    if [ -s ${S}/pointercal ]; then
15*4882a593Smuzhiyun        install -d ${D}${sysconfdir}/
16*4882a593Smuzhiyun        install -m 0644 ${S}/pointercal ${D}${sysconfdir}/
17*4882a593Smuzhiyun    fi
18*4882a593Smuzhiyun}
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunALLOW_EMPTY:${PN} = "1"
21*4882a593SmuzhiyunPACKAGE_ARCH = "${MACHINE_ARCH}"
22*4882a593SmuzhiyunINHIBIT_DEFAULT_DEPS = "1"
23