Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ validate sensor services functionality through the Sensinghub Interface."
LICENSE = "LICENSE.qcom-2"
LIC_FILES_CHKSUM = "file://LICENSE.qcom-2;md5=f33ba334514c4dfabc6ab7377babb377"

PBT_BUILD_DATE = "260514.1"
PBT_BUILD_DATE = "260620.1"
SRC_URI = "https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/sensors.lnx.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/qcom-sensors-prebuilts_${PV}_armv8a.tar.gz"
SRC_URI[sha256sum] = "507652592b326bfeb1b31c4c37f61a5173439bd3dffa7ded72b675f834ea11bb"
SRC_URI[sha256sum] = "78ef50da376fcc2ba4e7add016dc8fbdfffdc76c099c021e06b2ac1b1c69d151"

S = "${UNPACKDIR}"

Expand All @@ -28,12 +28,16 @@ do_install() {
install -d ${D}${sysconfdir}/sensors/config
install -d ${D}${sysconfdir}/sensors/registry
install -d ${D}${systemd_system_unitdir}
install -d ${D}${nonarch_base_libdir}/firmware/qcom/shikra/sensors/config
install -d ${D}${sysconfdir}/udev/rules.d
install -d ${D}${localstatedir}/lib/tqftpserv/sensors/registry

# Install binaries
install -m 0755 ${S}/usr/bin/* ${D}${bindir}/

# Install library
oe_libinstall -C ${S}/usr/lib -so libsensinghubapiprop ${D}${libdir}
oe_libinstall -C ${S}/usr/lib -so libsensinghubapipropc ${D}${libdir}
oe_libinstall -C ${S}/usr/lib -so libQshQmiIDL ${D}${libdir}
oe_libinstall -C ${S}/usr/lib -so libQshSession ${D}${libdir}
oe_libinstall -C ${S}/usr/lib -so libsnsdiaglog ${D}${libdir}
Expand All @@ -46,6 +50,11 @@ do_install() {
install -m 0644 ${S}/etc/sensors/sns_reg_config ${D}${sysconfdir}/sensors/
install -m 0644 ${S}/etc/sensors/config/* ${D}${sysconfdir}/sensors/config/
install -m 0644 ${S}/etc/sensors/registry/sns_reg_version ${D}${sysconfdir}/sensors/registry/
install -m 0644 ${S}/lib/firmware/qcom/shikra/sensors/config/* ${D}${nonarch_base_libdir}/firmware/qcom/shikra/sensors/config/
install -m 0644 ${S}/lib/firmware/qcom/shikra/sensors/sns_reg_config ${D}${nonarch_base_libdir}/firmware/qcom/shikra/sensors/
install -m 0644 ${S}/etc/udev/rules.d/99-rpmsg.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${S}/var/lib/tqftpserv/sensors/registry/sns_reg_version ${D}${localstatedir}/lib/tqftpserv/sensors/registry/
install -m 0644 ${S}/var/lib/tqftpserv/sensors/registry/sensors_registry ${D}${localstatedir}/lib/tqftpserv/sensors/registry/
install -m 0644 ${S}${systemd_system_unitdir}/sscrpcd.service ${D}${systemd_system_unitdir}/sscrpcd.service

# Install pkgconfig
Expand All @@ -56,3 +65,5 @@ do_install() {
}

SYSTEMD_SERVICE:${PN} = "sscrpcd.service"

FILES:${PN} += "${nonarch_base_libdir}/firmware/qcom/shikra/sensors/*"
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ HOMEPAGE = "https://github.com/qualcomm/sensinghub"
LICENSE = "BSD-3-Clause-Clear"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9701d0ef17353f1d05d7b74c8712ebbd"

SRCREV = "c08dcfa05a39aaf7d9b7f3241f612d29a2df1073"
SRCREV = "cc4f596e119da90fad9efa54e744c5fca333d06f"

SRC_URI = "git://github.com/qualcomm/sensinghub.git;protocol=https;branch=main;tag=v${PV}"

DEPENDS = "protobuf-camx protobuf-camx-native glib-2.0"
DEPENDS = "protobuf-camx protobuf-camx-native glib-2.0 nanopb-runtime nanopb-generator-native"

inherit autotools pkgconfig

Expand Down
Loading