Skip to content

Commit eae047c

Browse files
committed
camxlib-kodiak: Update to the 1.0.12 revision.
Enable EIS (Electronic Image Stabilization), LDC (Lens Distortion Correction), SHDRV2, and SHDRV3. Publish static capability tags when dependent libraries are available on the target. INSANE_SKIP is added to handle pre-stripped Library files. Include *.cl and libmctf_cl_program.bin in ${PN} only if DISTRO_FEATURES has 'opencl'. Add necessary build-time dependencies and runtime recommendations for sensor services and binaries. Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
1 parent e2e0518 commit eae047c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.11.bb renamed to dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.12.bb

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ LICENSE = "LICENSE.qcom-2"
88
LIC_FILES_CHKSUM = "file://usr/share/doc/${BPN}/LICENSE.QCOM-2.txt;md5=165287851294f2fb8ac8cbc5e24b02b0 \
99
file://usr/share/doc/${BPN}/NOTICE;md5=04facc2e07e3d41171a931477be0c690"
1010

11-
PBT_BUILD_DATE = "260211"
11+
PBT_BUILD_DATE = "260224.1"
1212
SRC_URI = " \
1313
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;name=camxlib \
1414
https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/camx-kodiak_${PV}_armv8-2a.tar.gz;name=camx \
1515
https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/chicdk-kodiak_${PV}_armv8-2a.tar.gz;name=chicdk \
1616
"
17-
SRC_URI[camxlib.sha256sum] = "abe341eaee99e05ccfacf37238380660630a0b671348a559d6ea918b50ab8634"
18-
SRC_URI[camx.sha256sum] = "7311b3d3c05a8899c2289e00682fd16e23fdf4ca00205ed6bd4ea2f63f35c371"
19-
SRC_URI[chicdk.sha256sum] = "f76beb5658f0778db2199c9809ed18e9b4f46dd36e67d5839b7d36561298be1a"
17+
SRC_URI[camxlib.sha256sum] = "dd2c33864ad038a5868f2a7b3c95fd13573ec1f2838960c6dec27668ac2252ae"
18+
SRC_URI[camx.sha256sum] = "734fcff71ca3d863aa7ce3de5a889a92ec96a56d42025abb36dd4c85e99080cf"
19+
SRC_URI[chicdk.sha256sum] = "56c96dc899c9c71a66025b5ffa055c99eca5e77619ea21d3349e1f257c76e510"
2020

2121
S = "${UNPACKDIR}"
2222

23-
DEPENDS += "glib-2.0 fastrpc protobuf-camx libxml2 virtual/egl virtual/libgles2 \
23+
DEPENDS += "glib-2.0 fastrpc protobuf-camx libxml2 virtual/egl virtual/libgles2 qmi-framework sensinghub qcom-sensors-binaries \
2424
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}"
2525

2626
# This package is currently only used and tested on ARMv8 (aarch64) machines.
@@ -61,7 +61,7 @@ do_install() {
6161
PACKAGE_BEFORE_PN += "camx-kodiak chicdk-kodiak"
6262
RDEPENDS:${PN} += "chicdk-kodiak"
6363
RDEPENDS:${PN}-dev += "camxcommon-headers-dev"
64-
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual-opencl-icd', '', d)}"
64+
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual-opencl-icd', '', d)} sensinghub qcom-sensors-binaries"
6565

6666
FILES:camx-kodiak = "\
6767
${libdir}/libcamera_hardware_kodiak*${SOLIBS} \
@@ -98,9 +98,15 @@ FILES:${PN} = "\
9898
${libdir}/camx/kodiak/*${SOLIBS} \
9999
${libdir}/camx/kodiak/hw/*${SOLIBS} \
100100
${libdir}/camx/kodiak/camera/components/*${SOLIBS} \
101+
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${libdir}/camx/kodiak/*.cl', '', d)} \
101102
"
102103
FILES:${PN}-dev = "\
103104
${libdir}/*${SOLIBSDEV} \
104105
"
105106
# Preserve ${PN} naming to avoid ambiguity in package identification.
106107
DEBIAN_NOAUTONAME:${PN} = "1"
108+
109+
# Algo librarires are pre-compiled, pre-stripped.
110+
# Skipping QA checks: 'already-stripped' because:
111+
# - Library files are Pre-stripped (already-stripped)
112+
INSANE_SKIP:${PN} = "already-stripped"

0 commit comments

Comments
 (0)