Skip to content

Commit f0df7bb

Browse files
jiaxli-QCJiaxing Li
authored andcommitted
meta-qcom: security: Add qcbor library for security feature support.
Add qcbor library for security feature support. The qcbor library is used for decoding and encoding data structures. Signed-off-by: Jiaxing Li <[email protected]>
1 parent f76c700 commit f0df7bb

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SUMMARY = "QCOM security opensource packagegroup"
2+
DESCRIPTION = "QCOM security components provide smcinvoke functionalty"
3+
4+
inherit packagegroup
5+
6+
PACKAGES = " \
7+
${PN}-tests \
8+
"
9+
10+
RDEPENDS:${PN}-test += " \
11+
qcbor-bin \
12+
"
13+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SUMMARY = "Qualcomm QCBOR library"
2+
DESCRIPTION = " \
3+
QCBOR is a powerful, commercial-quality CBOR encoder-decoder. \
4+
The qcbor library is used for decoding and encoding data structures. \
5+
"
6+
HOMEPAGE = "https://github.com/laurencelundblade/QCBOR.git"
7+
SECTION = "libs"
8+
9+
LICENSE = "BSD-3-Clause"
10+
LIC_FILES_CHKSUM = "file://LICENSE;md5=9abe2371333f4ab0e62402a486f308a5"
11+
12+
inherit cmake
13+
14+
SRC_URI = "\
15+
git://github.com/laurencelundblade/QCBOR.git;branch=master;protocol=https \
16+
"
17+
SRCREV = "7d9f0b787150d739ab50805008bc7142bc9b7822"
18+
PV = "0.0+git"
19+
20+
EXTRA_OECMAKE = " -DBUILD_QCBOR_TEST=APP"
21+
22+
do_install:append() {
23+
install -d ${D}${bindir}
24+
install -m 0755 ${WORKDIR}/build/test/qcbortest ${D}${bindir}/
25+
}
26+
27+
FILES:${PN}-bin += " ${bindir}/qcbortest"
28+

recipes-test/images/initramfs-test-image.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ PACKAGE_INSTALL += " \
3333
util-linux-lscpu \
3434
util-linux-taskset \
3535
wpa-supplicant \
36+
packagegroup-qcom-secure \
3637
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'clinfo', '', d)} \
3738
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'kmscube', '', d)} \
3839
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan-tools', '', d)} \

0 commit comments

Comments
 (0)