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,53 @@
|
||||
From 2829e6998b7595dd2108c1497fdd02485ef99e2c Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||
Date: Tue, 16 Aug 2011 16:04:35 +0200
|
||||
Subject: [PATCH] Upstream: not yet
|
||||
|
||||
Fix configure to accept "--prefix=" (a blank prefix).
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
build/make/configure.sh | 20 ++++++++++++++++----
|
||||
1 file changed, 16 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
||||
index b645a666f..0b99a8b38 100644
|
||||
--- a/build/make/configure.sh
|
||||
+++ b/build/make/configure.sh
|
||||
@@ -658,6 +658,8 @@ process_common_cmdline() {
|
||||
;;
|
||||
--prefix=*)
|
||||
prefix="${optval}"
|
||||
+ # Distinguish between "prefix not set" and "prefix set to ''"
|
||||
+ prefixset=1
|
||||
;;
|
||||
--libdir=*)
|
||||
libdir="${optval}"
|
||||
@@ -687,13 +689,23 @@ process_cmdline() {
|
||||
}
|
||||
|
||||
post_process_common_cmdline() {
|
||||
- prefix="${prefix:-/usr/local}"
|
||||
+ if [ "$prefixset" != "1" ]
|
||||
+ then
|
||||
+ prefix=/usr/local
|
||||
+ fi
|
||||
+
|
||||
+ # Strip trailing slash
|
||||
prefix="${prefix%/}"
|
||||
+
|
||||
libdir="${libdir:-${prefix}/lib}"
|
||||
libdir="${libdir%/}"
|
||||
- if [ "${libdir#${prefix}}" = "${libdir}" ]; then
|
||||
- die "Libdir ${libdir} must be a subdirectory of ${prefix}"
|
||||
- fi
|
||||
+
|
||||
+ case "$libdir" in
|
||||
+ "${prefix}/"*) ;;
|
||||
+ *)
|
||||
+ die "Libdir ${libdir} must be a subdirectory of ${prefix}"
|
||||
+ ;;
|
||||
+ esac
|
||||
}
|
||||
|
||||
post_process_cmdline() {
|
||||
@@ -0,0 +1,51 @@
|
||||
SUMMARY = "VPX multi-format codec"
|
||||
DESCRIPTION = "The BSD-licensed libvpx reference implementation provides en- and decoders for VP8 and VP9 bitstreams."
|
||||
HOMEPAGE = "http://www.webmproject.org/code/"
|
||||
BUGTRACKER = "http://code.google.com/p/webm/issues/list"
|
||||
SECTION = "libs/multimedia"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
|
||||
|
||||
SRCREV = "602e2e8979d111b02c959470da5322797dd96a19"
|
||||
SRC_URI += "git://chromium.googlesource.com/webm/libvpx;protocol=https;branch=main \
|
||||
file://libvpx-configure-support-blank-prefix.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# ffmpeg links with this and fails
|
||||
# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
|
||||
CFLAGS += "-fPIC"
|
||||
BUILD_LDFLAGS += "-pthread"
|
||||
|
||||
export CC
|
||||
export LD = "${CC}"
|
||||
|
||||
VPXTARGET:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7-linux-gcc","generic-gnu",d)}"
|
||||
VPXTARGET ?= "generic-gnu"
|
||||
|
||||
CONFIGUREOPTS = " \
|
||||
--target=${VPXTARGET} \
|
||||
--enable-vp9 \
|
||||
--enable-libs \
|
||||
--disable-install-docs \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--prefix=${prefix} \
|
||||
--libdir=${libdir} \
|
||||
--size-limit=16384x16384 \
|
||||
"
|
||||
|
||||
do_configure() {
|
||||
${S}/configure ${CONFIGUREOPTS}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
BBCLASSEXTEND += "native"
|
||||
Reference in New Issue
Block a user