Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
DESCRIPTION = "PKCS library"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \
|
||||
file://0001-fix-multiple-definition-error.patch \
|
||||
"
|
||||
SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741"
|
||||
|
||||
DEPENDS = "openssl secure-obj"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
|
||||
export CROSS_COMPILE_HOST = "${CROSS_COMPILE}"
|
||||
export CROSS_COMPILE_TA = "${CROSS_COMPILE}"
|
||||
|
||||
CFLAGS += "-fPIC"
|
||||
|
||||
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}"'
|
||||
|
||||
do_compile() {
|
||||
export OPENSSL_PATH="${RECIPE_SYSROOT}/usr"
|
||||
export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_install(){
|
||||
mkdir -p ${D}/${libdir}
|
||||
mkdir -p ${D}/${includedir} ${D}/${bindir}
|
||||
cp ${S}/out/export/lib/libpkcs11.so ${D}/${libdir}
|
||||
cp ${S}/out/export/include/*.h ${D}/${includedir}
|
||||
rm -f ${D}${includedir}/pkcs11.h
|
||||
cp ${S}/out/export/app/* ${D}/${bindir}
|
||||
}
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
INSANE_SKIP:${PN} = "ldflags dev-deps"
|
||||
INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
|
||||
COMPATIBLE_MACHINE = "(qoriq-arm64)"
|
||||
Reference in New Issue
Block a user