Skip to content

Commit eb79aed

Browse files
committed
meta-qcom: security: Add qcbor library for security feature support.
Add qcbor library for security feature support. Signed-off-by: Jiaxing Li <[email protected]>
1 parent 907d6f2 commit eb79aed

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
SUMMARY = "QCOM security opensource packagegroup"
2+
3+
inherit packagegroup
4+
5+
PACKAGES = "${PN}"
6+
7+
RDEPENDS:${PN} += " \
8+
qcbor \
9+
"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
SUMMARY = "Qualcomm QCBOR library"
2+
DESCRIPTION = "QCBOR is a powerful, commercial-quality CBOR encoder-decoder"
3+
HOMEPAGE = "https://github.com/laurencelundblade/QCBOR.git"
4+
SECTION = "libs"
5+
6+
LICENSE = "BSD-3-Clause"
7+
LIC_FILES_CHKSUM = "file://LICENSE;md5=9abe2371333f4ab0e62402a486f308a5"
8+
9+
inherit cmake pkgconfig
10+
11+
SRC_URI = "\
12+
git://github.com/laurencelundblade/QCBOR.git;branch=master;protocol=https \
13+
"
14+
SRCREV = "7d9f0b787150d739ab50805008bc7142bc9b7822"
15+
PV = "1.5.3+git"
16+
17+
EXTRA_OECMAKE = " -DBUILD_QCBOR_TEST=APP"
18+
19+
do_install:append() {
20+
install -d ${D}${bindir}
21+
install -m 0755 ${WORKDIR}/build/test/qcbortest ${D}${bindir}/
22+
}
23+
24+
FILES:${PN} += " ${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)