diff options
Diffstat (limited to 'recipes-extended/libpkcs11')
| -rw-r--r-- | recipes-extended/libpkcs11/libpkcs11_git.bb | 24 |
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 @@ | |||
| 1 | DESCRIPTION = "PKCS library" | 1 | SUMMARY = "PKCS#11 cryptographic token library" |
| 2 | DESCRIPTION = "PKCS#11 library implementing cryptographic token operations \ | ||
| 3 | backed by the NXP QorIQ secure object (secure-obj) subsystem." | ||
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" | 4 | HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" |
| 5 | SECTION = "libs" | ||
| 3 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" |
| 8 | DEPENDS = "openssl secure-obj" | ||
| 5 | 9 | ||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ | 10 | SRC_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 | " |
| 9 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" | 13 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" |
| 10 | 14 | ||
| 11 | DEPENDS = "openssl secure-obj" | ||
| 12 | |||
| 13 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 15 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 14 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" | 16 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" |
| 15 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" | 17 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" |
| @@ -25,15 +27,21 @@ do_compile() { | |||
| 25 | } | 27 | } |
| 26 | 28 | ||
| 27 | do_install(){ | 29 | do_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 | ||
| 36 | PARALLEL_MAKE = "" | 39 | PARALLEL_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 | ||
| 37 | INSANE_SKIP:${PN} = "ldflags dev-deps" | 44 | INSANE_SKIP:${PN} = "ldflags dev-deps" |
| 45 | # nooelint: oelint.vars.insaneskip | ||
| 38 | INSANE_SKIP:${PN}-dev = "ldflags dev-elf" | 46 | INSANE_SKIP:${PN}-dev = "ldflags dev-elf" |
| 39 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 47 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
