summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libpkcs11
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/libpkcs11')
-rw-r--r--recipes-extended/libpkcs11/libpkcs11_git.bb24
1 files changed, 16 insertions, 8 deletions
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb
index 2f97de27e..28bb817f8 100644
--- a/recipes-extended/libpkcs11/libpkcs11_git.bb
+++ b/recipes-extended/libpkcs11/libpkcs11_git.bb
@@ -1,15 +1,17 @@
1DESCRIPTION = "PKCS library" 1SUMMARY = "PKCS#11 cryptographic token library"
2DESCRIPTION = "PKCS#11 library implementing cryptographic token operations \
3 backed by the NXP QorIQ secure object (secure-obj) subsystem."
2HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" 4HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11"
5SECTION = "libs"
3LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625"
8DEPENDS = "openssl secure-obj"
5 9
6SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ 10SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \
7 file://0001-fix-multiple-definition-error.patch \ 11 file://0001-fix-multiple-definition-error.patch \
8" 12"
9SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" 13SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741"
10 14
11DEPENDS = "openssl secure-obj"
12
13WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 15WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
14export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" 16export CROSS_COMPILE_HOST = "${CROSS_COMPILE}"
15export CROSS_COMPILE_TA = "${CROSS_COMPILE}" 17export CROSS_COMPILE_TA = "${CROSS_COMPILE}"
@@ -25,15 +27,21 @@ do_compile() {
25} 27}
26 28
27do_install(){ 29do_install(){
28 mkdir -p ${D}/${libdir} 30 install -d ${D}${libdir}
29 mkdir -p ${D}/${includedir} ${D}/${bindir} 31 install -d ${D}${includedir}
30 cp ${S}/out/export/lib/libpkcs11.so ${D}/${libdir} 32 install -d ${D}${bindir}
31 cp ${S}/out/export/include/*.h ${D}/${includedir} 33 install -m 0755 ${S}/out/export/lib/libpkcs11.so ${D}${libdir}
34 install -m 0644 ${S}/out/export/include/*.h ${D}${includedir}
32 rm -f ${D}${includedir}/pkcs11.h 35 rm -f ${D}${includedir}/pkcs11.h
33 cp ${S}/out/export/app/* ${D}/${bindir} 36 install -m 0755 ${S}/out/export/app/* ${D}${bindir}
34} 37}
35 38
36PARALLEL_MAKE = "" 39PARALLEL_MAKE = ""
40
41# The library links against sysroot libraries and ships its .so in the main
42# package, so the ldflags/dev-deps/dev-elf QA checks do not apply cleanly here.
43# nooelint: oelint.vars.insaneskip
37INSANE_SKIP:${PN} = "ldflags dev-deps" 44INSANE_SKIP:${PN} = "ldflags dev-deps"
45# nooelint: oelint.vars.insaneskip
38INSANE_SKIP:${PN}-dev = "ldflags dev-elf" 46INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
39COMPATIBLE_MACHINE = "(qoriq-arm64)" 47COMPATIBLE_MACHINE = "(qoriq-arm64)"