M7350/oe-core/meta-msm/recipes/loc-hal/loc-hal_git.bb
2024-09-09 08:57:42 +00:00

23 lines
678 B
BlitzBasic

inherit autotools-brokensep pkgconfig
DESCRIPTION = "GPS Loc HAL"
PR = "r5"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=3775480a712fc46a69647678acb234cb"
FILESPATH =+ "${WORKSPACE}:"
SRC_URI = "file://hardware/qcom/gps/"
S = "${WORKDIR}/hardware/qcom/gps"
DEPENDS = "glib-2.0 libhardware qmi qmi-framework data loc-pla"
EXTRA_OECONF = "--with-libhardware-includes=${STAGING_INCDIR} \
--with-core-includes=${WORKSPACE}/system/core/include \
--with-glib"
CPPFLAGS += "-I${WORKSPACE}/base/include"
do_install_append() {
install -m 0644 -D ${S}/etc/gps.conf ${D}${sysconfdir}/gps.conf
}