Skip to content

Commit 73c9723

Browse files
committed
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 907d6f2 commit 73c9723

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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"

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

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

3940
# We'd like to include extra packages provided by layers which we do not depend

0 commit comments

Comments
 (0)