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,52 @@
|
||||
SUMMARY = "Crypto and TLS for C++11"
|
||||
HOMEPAGE = "https://botan.randombit.net"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://license.txt;md5=f5254d3abe90ec5bb82c5694ff751546"
|
||||
SECTION = "libs"
|
||||
|
||||
SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "049c847835fcf6ef3a9e206b33de05dd38999c325e247482772a5598d9e5ece3"
|
||||
|
||||
S = "${WORKDIR}/Botan-${PV}"
|
||||
|
||||
inherit python3native siteinfo lib_package
|
||||
|
||||
CPU ?= "${TARGET_ARCH}"
|
||||
CPU:x86 = "x86_32"
|
||||
CPU:armv7a = "armv7"
|
||||
CPU:armv7ve = "armv7"
|
||||
|
||||
do_configure() {
|
||||
python3 ${S}/configure.py \
|
||||
--prefix="${exec_prefix}" \
|
||||
--libdir="${libdir}" \
|
||||
--cpu="${CPU}" \
|
||||
--cc-bin="${CXX}" \
|
||||
--cxxflags="${CXXFLAGS}" \
|
||||
--ldflags="${LDFLAGS}" \
|
||||
--with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
|
||||
${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \
|
||||
--with-sysroot-dir=${STAGING_DIR_HOST} \
|
||||
--with-build-dir="${B}" \
|
||||
--optimize-for-size \
|
||||
--with-stack-protector \
|
||||
--enable-shared-library \
|
||||
--with-python-versions=3 \
|
||||
${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
}
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-python3"
|
||||
|
||||
FILES:${PN}-python3 = "${libdir}/python3"
|
||||
|
||||
RDEPENDS:${PN}-python3 += "python3"
|
||||
|
||||
COMPATIBLE_HOST:riscv32 = "null"
|
||||
Reference in New Issue
Block a user