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,48 @@
|
||||
SUMMARY = "Persistent Memory Development Kit"
|
||||
DESCRIPTION = "Persistent Memory Development Kit"
|
||||
HOMEPAGE = "http://pmem.io"
|
||||
SECTION = "libs"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b44ee63f162f9cdb18fff1224877aafd"
|
||||
DEPENDS = "ndctl cmake-native"
|
||||
|
||||
# Required to have the fts.h header for musl
|
||||
DEPENDS:append:libc-musl = " fts"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "git://github.com/pmem/pmdk.git;branch=master;protocol=https"
|
||||
SRCREV = "ba92d6b469d52d16f26279bebaf317bbdbb3822c"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
# Fix jemalloc error:
|
||||
# | configure: error: cannot run C compiled programs.
|
||||
# | If you meant to cross compile, use `--host'.
|
||||
#
|
||||
# Also fix #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
|
||||
EXTRA_OEMAKE = "BUILD_EXAMPLES='n' DOC='n' HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}' LIB_PREFIX=${baselib}"
|
||||
|
||||
# Fix the missing fts libs when using musl
|
||||
EXTRA_OEMAKE:append:libc-musl = " EXTRA_LIBS='-lfts'"
|
||||
|
||||
do_configure:prepend() {
|
||||
touch .skip-doc
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake prefix=${prefix} DESTDIR=${D} install
|
||||
|
||||
# Remove uneeded files
|
||||
rm -rf ${D}/usr/${baselib}/pmdk_debug
|
||||
}
|
||||
|
||||
# Include these by default otherwise the SDK is not very useful
|
||||
FILES:${PN} += "${bindir}/pmempool ${bindir}/daxio"
|
||||
FILES:${PN} += "${libdir}/*so*"
|
||||
FILES:${PN} += "${libdir}/pkgconfig/*.pc"
|
||||
FILES:${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/* /usr/*/include/"
|
||||
FILES:${PN} += "/usr/etc"
|
||||
FILES:${PN} += "/usr/share"
|
||||
|
||||
COMPATIBLE_HOST='(x86_64).*'
|
||||
Reference in New Issue
Block a user