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,24 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Orignal pkg-config-native action when called as pkg-config-native
|
||||
# NO Change here
|
||||
if [ "pkg-config-native" = "`basename $0`" ] ; then
|
||||
PKG_CONFIG_PATH="@PATH_NATIVE@"
|
||||
PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
|
||||
unset PKG_CONFIG_SYSROOT_DIR
|
||||
else
|
||||
# in this case check if we are in the esdk
|
||||
if [ "$OE_SKIP_SDK_CHECK" = "1" ] ; then
|
||||
parentpid=`ps -o ppid= -p $$`
|
||||
parentpid_info=`ps -wo comm= -o args= -p $parentpid`
|
||||
|
||||
# check if we are being called from the kernel's make menuconfig
|
||||
if ( echo $parentpid_info | grep -q check-lxdialog ) ; then
|
||||
PKG_CONFIG_PATH="@PATH_NATIVE@"
|
||||
PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
|
||||
unset PKG_CONFIG_SYSROOT_DIR
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pkg-config.real "$@"
|
||||
@@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
PKG_CONFIG_PATH="$EXTRA_NATIVE_PKGCONFIG_PATH@PATH_NATIVE@"
|
||||
unset PKG_CONFIG_SYSROOT_DIR
|
||||
|
||||
pkg-config "$@"
|
||||
16
sources/poky/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper
Executable file
16
sources/poky/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# pkgconf wrapper to deal with pkg-config/pkgconf compatibility issues
|
||||
#
|
||||
# Copyright (C) 2015 Christopher Larson <chris_larson@mentor.com>
|
||||
# License: MIT (see COPYING.MIT at the root of the repository for terms)
|
||||
|
||||
for arg; do
|
||||
case "$arg" in
|
||||
--variable|--variable=*)
|
||||
# pkg-config doesn't sysroot-prefix user variables
|
||||
unset PKG_CONFIG_SYSROOT_DIR
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec pkgconf "$@"
|
||||
67
sources/poky/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
Normal file
67
sources/poky/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY = "pkgconf provides compiler and linker configuration for development frameworks."
|
||||
DESCRIPTION = "pkgconf is a program which helps to configure compiler and linker \
|
||||
flags for development frameworks. It is similar to pkg-config from \
|
||||
freedesktop.org, providing additional functionality while also maintaining \
|
||||
compatibility."
|
||||
HOMEPAGE = "http://pkgconf.org"
|
||||
BUGTRACKER = "https://github.com/pkgconf/pkgconf/issues"
|
||||
SECTION = "devel"
|
||||
PROVIDES += "pkgconfig"
|
||||
RPROVIDES:${PN} += "pkgconfig"
|
||||
|
||||
# The pkgconf license seems to be functionally equivalent to BSD-2-Clause or
|
||||
# ISC, but has different wording, so needs its own name.
|
||||
LICENSE = "pkgconf"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2214222ec1a820bd6cc75167a56925e0"
|
||||
|
||||
SRC_URI = "\
|
||||
https://distfiles.ariadne.space/pkgconf/pkgconf-${PV}.tar.xz \
|
||||
file://pkg-config-wrapper \
|
||||
file://pkg-config-native.in \
|
||||
file://pkg-config-esdk.in \
|
||||
"
|
||||
SRC_URI[sha256sum] = "3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5"
|
||||
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OECONF += "--with-pkg-config-dir='${libdir}/pkgconfig:${datadir}/pkgconfig'"
|
||||
|
||||
do_install:append () {
|
||||
# Install a wrapper which deals, as much as possible with pkgconf vs
|
||||
# pkg-config compatibility issues.
|
||||
install -m 0755 "${WORKDIR}/pkg-config-wrapper" "${D}${bindir}/pkg-config"
|
||||
}
|
||||
|
||||
do_install:append:class-native () {
|
||||
# Install a pkg-config-native wrapper that will use the native sysroot instead
|
||||
# of the MACHINE sysroot, for using pkg-config when building native tools.
|
||||
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
|
||||
< ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native
|
||||
install -m755 ${B}/pkg-config-native ${D}${bindir}/pkg-config-native
|
||||
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
|
||||
-e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
|
||||
< ${WORKDIR}/pkg-config-esdk.in > ${B}/pkg-config-esdk
|
||||
install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk
|
||||
}
|
||||
|
||||
# When using the RPM generated automatic package dependencies, some packages
|
||||
# will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by
|
||||
# specifying an appropriate provide.
|
||||
RPROVIDES:${PN} += "pkgconfig(pkg-config)"
|
||||
|
||||
# Include pkg.m4 in the main package, leaving libpkgconf dev files in -dev
|
||||
FILES:${PN}-dev:remove = "${datadir}/aclocal"
|
||||
FILES:${PN} += "${datadir}/aclocal"
|
||||
|
||||
BBCLASSEXTEND += "native nativesdk"
|
||||
|
||||
pkgconf_sstate_fixup_esdk () {
|
||||
if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" -a "${WITHIN_EXT_SDK}" = "1" ] ; then
|
||||
pkgconfdir="${SSTATE_INSTDIR}/recipe-sysroot-native/${bindir_native}"
|
||||
mv $pkgconfdir/pkg-config $pkgconfdir/pkg-config.real
|
||||
ln -rs $pkgconfdir/pkg-config-esdk $pkgconfdir/pkg-config
|
||||
sed -i -e "s|^pkg-config|pkg-config.real|" $pkgconfdir/pkg-config-native
|
||||
fi
|
||||
}
|
||||
|
||||
SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconf_sstate_fixup_esdk"
|
||||
Reference in New Issue
Block a user