Skip to content

Commit fbacb11

Browse files
jiaxli-QCJiaxing Li
authored andcommitted
qcbor: library to expose Qualcomm Security Package
Add a recipe to build qcbor, library to work with security functionality on Qualcomm platforms. The libqcbor, which are only available through meta-oe, is depended by Qcom-teec and MinkIPC. Thus add libqcbor recipe to the corresponding dynamic-layers subdir. Signed-off-by: Jiaxing Li <[email protected]>
1 parent f76c700 commit fbacb11

File tree

1 file changed

+28
-0
lines changed
  • dynamic-layers/openembedded-layer/recipes-extended/qcbor

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
DESCRIPTION = " \
2+
QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \
3+
implements these RFCs: RFC8949, RFC7049, RFC8742, RFC8943 \
4+
"
5+
6+
HOMEPAGE = "https://github.com/laurencelundblade/QCBOR"
7+
8+
LICENSE = "BSD-3-Clause"
9+
LIC_FILES_CHKSUM = "file://LICENSE;md5=9abe2371333f4ab0e62402a486f308a5"
10+
11+
SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master;tag=v${PV}"
12+
13+
SRCREV = "4ace4620d549f22c1163c5b00d3ae0c0dae1d207"
14+
15+
16+
inherit pkgconfig
17+
18+
CFLAGS += " \
19+
-DUSEFULBUF_DISABLE_ALL_FLOAT \
20+
"
21+
22+
do_install(){
23+
install -d ${D}${libdir}
24+
install -m 755 ${S}/libqcbor.a ${D}${libdir}/
25+
install -d ${D}${includedir}/qcbor
26+
install -m 644 ${S}/inc/*.h ${D}${includedir}
27+
install -m 644 ${S}/inc/qcbor/*.h ${D}${includedir}/qcbor
28+
}

0 commit comments

Comments
 (0)