Files
Bhargav Das a26497d464 pointercal: Add native & nativestdk package support
Add support for building native and nativesdk variants.

Signed-off-by: Bhargav Das <bhargav.das@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f3cdc9d7ee)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:16:21 -04:00

25 lines
559 B
BlitzBasic

SUMMARY = "Touchscreen calibration data"
SECTION = "base"
PR = "r11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
SRC_URI = "file://pointercal \
file://COPYING"
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}"
INHIBIT_DEFAULT_DEPS = "1"
BBCLASSEXTEND = "native nativesdk"