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,44 @@
|
||||
inherit cross-canadian
|
||||
inherit python3-dir
|
||||
inherit pkgconfig
|
||||
|
||||
SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)"
|
||||
PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||
BPN = "gdb"
|
||||
|
||||
DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \
|
||||
virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc"
|
||||
|
||||
GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
|
||||
|
||||
# Overrides PACKAGECONFIG variables in gdb-common.inc
|
||||
PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
|
||||
PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
|
||||
nativesdk-python3-core \
|
||||
nativesdk-python3-codecs nativesdk-python3-netclient \
|
||||
"
|
||||
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
|
||||
PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, nativesdk-elfutils"
|
||||
|
||||
SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb"
|
||||
|
||||
do_configure:prepend() {
|
||||
cat > ${WORKDIR}/python << EOF
|
||||
#! /bin/sh
|
||||
case "\$2" in
|
||||
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;;
|
||||
--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;;
|
||||
--exec-prefix) echo "${exec_prefix}" ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
exit 0
|
||||
EOF
|
||||
chmod +x ${WORKDIR}/python
|
||||
}
|
||||
|
||||
# we don't want gdb to provide bfd/iberty/opcodes, which instead will override the
|
||||
# right bits installed by binutils.
|
||||
do_install:append() {
|
||||
rm -rf ${D}${exec_prefix}/lib
|
||||
cross_canadian_bindirlinks
|
||||
}
|
||||
Reference in New Issue
Block a user