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:
45
sources/poky/meta/recipes-devtools/gcc/gcc-source.inc
Normal file
45
sources/poky/meta/recipes-devtools/gcc/gcc-source.inc
Normal file
@@ -0,0 +1,45 @@
|
||||
deltask do_configure
|
||||
deltask do_compile
|
||||
deltask do_install
|
||||
deltask do_populate_sysroot
|
||||
deltask do_populate_lic
|
||||
RM_WORK_EXCLUDE += "${PN}"
|
||||
|
||||
inherit nopackages
|
||||
|
||||
PN = "gcc-source-${PV}"
|
||||
WORKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}"
|
||||
SSTATE_SWSPEC = "sstate:gcc::${PV}:${PR}::${SSTATE_VERSION}:"
|
||||
|
||||
STAMP = "${STAMPS_DIR}/work-shared/gcc-${PV}-${PR}"
|
||||
STAMPCLEAN = "${STAMPS_DIR}/work-shared/gcc-${PV}-*"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS = ""
|
||||
PACKAGES = ""
|
||||
TARGET_ARCH = "allarch"
|
||||
TARGET_AS_ARCH = "none"
|
||||
TARGET_CC_ARCH = "none"
|
||||
TARGET_LD_ARCH = "none"
|
||||
TARGET_OS = "linux"
|
||||
baselib = "lib"
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
# This needs to be Python to avoid lots of shell variables becoming dependencies.
|
||||
python do_preconfigure () {
|
||||
import subprocess
|
||||
cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
|
||||
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|
||||
cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure")
|
||||
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|
||||
|
||||
# Easiest way to stop bad RPATHs getting into the library since we have a
|
||||
# broken libtool here (breaks cross-canadian and target at least)
|
||||
cmd = d.expand("sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${S}/libcc1/configure")
|
||||
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|
||||
}
|
||||
addtask do_preconfigure after do_patch
|
||||
do_preconfigure[depends] += "gnu-config-native:do_populate_sysroot autoconf-native:do_populate_sysroot"
|
||||
|
||||
Reference in New Issue
Block a user