Skip to content

Commit 640d3eb

Browse files
committed
camxcommon: add camxcommon recipe
- package provide common utility API used by all CamX components Signed-off-by: Ganesh Khose <[email protected]>
1 parent 3ac7db4 commit 640d3eb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SUMMARY = "Qualcomm camera common utility API used by all CamX components"
2+
DESCRIPTION = "Collection of prebuilt libraries to support common utility API used by all CamX components."
3+
LICENSE = "LICENSE.qcom-2"
4+
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/usr/share/doc/${PN}/NO.LOGIN.BINARY.LICENSE.QTI.pdf;md5=4ceffe94cb40cdce6d2f4fb93cc063d1"
5+
6+
SRC_URI = "https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/${BPN}_${PV}_armv8-2a.tar.gz"
7+
SRC_URI[sha256sum] = "89c7c83abf6233c25568be6a925ced8a2611fbb9f7a6a4a2855668cd2c401bc1"
8+
PBT_BUILD_DATE = "251123"
9+
S = "${UNPACKDIR}"
10+
11+
DEPENDS += "glib-2.0"
12+
13+
# This package is currently only used and tested on ARMv8 (aarch64) machines.
14+
# Therefore, builds for other architectures are not necessary and are explicitly excluded.
15+
COMPATIBLE_MACHINE = "^$"
16+
COMPATIBLE_MACHINE:aarch64 = "(.*)"
17+
18+
# Disable configure and compile steps since this recipe uses prebuilt binaries.
19+
do_configure[noexec] = "1"
20+
do_compile[noexec] = "1"
21+
22+
do_install() {
23+
install -d ${D}${libdir}
24+
cp -r ${S}/usr/lib/* ${D}${libdir}
25+
}
26+
27+
FILES:${PN} += "${libdir}/qcs9100/*${SOLIBS}"
28+
FILES:${PN}-dev += "${libdir}/qcs9100/*${SOLIBSDEV}"

0 commit comments

Comments
 (0)