- 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)
54 lines
1.4 KiB
BlitzBasic
54 lines
1.4 KiB
BlitzBasic
require gmp.inc
|
|
|
|
LICENSE = "GPL-2.0-or-later | LGPL-3.0-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "\
|
|
file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
|
file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
|
|
file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
|
|
"
|
|
|
|
REVISION = ""
|
|
SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
|
|
file://use-includedir.patch \
|
|
file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \
|
|
file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb"
|
|
|
|
acpaths = ""
|
|
|
|
EXTRA_OECONF += " --enable-cxx=detect"
|
|
EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly"
|
|
|
|
PACKAGES =+ "libgmpxx"
|
|
FILES:libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
|
|
|
|
do_install:append() {
|
|
oe_multilib_header gmp.h
|
|
}
|
|
|
|
fix_absolute_paths () {
|
|
sed -i \
|
|
-e "s|--sysroot=${STAGING_DIR_HOST}||g" \
|
|
-e "s|${DEBUG_PREFIX_MAP}||g" \
|
|
${B}/gmp.h
|
|
}
|
|
|
|
do_install:prepend:class-target() {
|
|
fix_absolute_paths
|
|
}
|
|
|
|
do_install:prepend:class-nativesdk() {
|
|
fix_absolute_paths
|
|
}
|
|
|
|
SSTATE_SCAN_FILES += "gmp.h"
|
|
|
|
# Doesn't compile in MIPS16e mode due to use of hand-written
|
|
# assembly
|
|
MIPS_INSTRUCTION_SET = "mips"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|