| DESCRIPTION = "MTK GNSS Test" |
| LICENSE = "MediaTekProprietary" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" |
| |
| DEPENDS += "gpshal" |
| |
| inherit workonsrc |
| WORKONSRC = "${TOPDIR}/../src/connectivity/gps/gnss_test/" |
| inherit systemd |
| SYSTEMD_PACKAGES = "${PN}" |
| |
| DEPENDS += "openssl curl gpshal" |
| |
| # Avoid QA Issue: No GNU_HASH in the elf binary |
| INSANE_SKIP_${PN} = "ldflags" |
| INSANE_SKIP_${PN}-dev = "ldflags" |
| FILES_${PN}-dev = "${includedir}" |
| |
| # Avoid QA Issue: 'Files/directories were installed but not shipped' |
| INSANE_SKIP_${PN} += "installed-vs-shipped" |
| FLAGS = "-DCONFIG_GPS_MT3303 ${@bb.utils.contains("ADR_SUPPORT","YES", "-DMTK_ADR_SUPPORT","",d)}" |
| |
| EXTRA_OEMAKE = "\ |
| 'PACKAGE_ARCH=${PACKAGE_ARCH}' \ |
| 'DNS_FLAGS=${FLAGS}' \ |
| " |
| |
| do_install_append() { |
| install -d ${D}${bindir} |
| } |
| |
| INSANE_SKIP_${PN} += "already-stripped" |
| |
| inherit autotools |
| |