Skip to content

Commit 5dafec0

Browse files
committed
camxcommon:common utility libraries used by camx, chi-cdk, and camx-lib
The camx-common package provides foundational utility libraries that are shared across all components of the Qualcomm Camera X (CamX) This package is separated from the main camx library as these utilities are required by both the core camx driver, the CHI (Camera Hardware Interface) CDK framework, and various camera library components during their build process. It includes three essential components: a settings manager for runtime configuration management, common utility functions for memory management and logging, and a hierarchical settings framework that combines platform-specific configs with common default configurations. Signed-off-by: Ganesh Khose <[email protected]>
1 parent 87830dd commit 5dafec0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
SUMMARY = "Qualcomm camera common utility API used by all CamX components"
2+
DESCRIPTION = " Qualcomm CamX common utility libraries \
3+
This package provides the foundational utility libraries shared across all \
4+
components of the Qualcomm Camera X (CamX). It is separated \
5+
from the main qcom-camx package as these utilities are required by camx, \
6+
chi-cdk, and camx-lib during compilation."
7+
LICENSE = "LICENSE.qcom-2"
8+
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/usr/share/doc/${BPN}/NO.LOGIN.BINARY.LICENSE.QTI.pdf;md5=7a5da794b857d786888bbf2b7b7529c8"
9+
10+
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"
11+
SRC_URI[sha256sum] = "2a3e534ec3715741bce958b1c1f48d2983351cdf64925bafb7ce72f0914c0121"
12+
PBT_BUILD_DATE = "251207"
13+
S = "${UNPACKDIR}"
14+
15+
DEPENDS += "glib-2.0"
16+
17+
# This package is currently only used and tested on ARMv8 (aarch64) machines.
18+
# Therefore, builds for other architectures are not necessary and are explicitly excluded.
19+
COMPATIBLE_MACHINE = "^$"
20+
COMPATIBLE_MACHINE:aarch64 = "(.*)"
21+
22+
# Disable configure and compile steps since this recipe uses prebuilt binaries.
23+
do_configure[noexec] = "1"
24+
do_compile[noexec] = "1"
25+
26+
do_install() {
27+
install -d ${D}${libdir}
28+
install -d ${D}${datadir}/doc/${BPN}
29+
30+
cp -r ${S}/usr/lib/* ${D}${libdir}
31+
install -m 0644 ${S}/usr/share/doc/${BPN}/NO.LOGIN.BINARY.LICENSE.QTI.pdf ${D}${datadir}/doc/${BPN}
32+
}
33+
34+
RPROVIDES:${PN} = "camxcommon-monaco"
35+
36+
FILES:${PN} += "${libdir}/lemans/*${SOLIBS}"
37+
FILES:${PN}-dev += "${libdir}/lemans/*${SOLIBSDEV}"

0 commit comments

Comments
 (0)