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,56 @@
|
||||
From d619ccf6c11ab574466914c57994a82fb99401af Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 22 Mar 2017 16:06:55 +0000
|
||||
Subject: [PATCH] configure: Check for clang
|
||||
|
||||
Disable gcc specific options if using clang
|
||||
|
||||
Upstream-Status: Inactive-Upstream [https://gitlab.xiph.org/xiph/vorbis,https://github.com/xiph/vorbis]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
|
||||
configure.ac | 19 +++++++++++++++++--
|
||||
1 file changed, 17 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 28b0a14..2d4e984 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -98,6 +98,16 @@ AC_ARG_ENABLE(examples,
|
||||
|
||||
AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$enable_examples" = xyes])
|
||||
|
||||
+AC_MSG_CHECKING([whether C compiler is clang])
|
||||
+$CC -x c /dev/null -dM -E > conftest.txt 2>&1
|
||||
+if grep "__clang__" conftest.txt >/dev/null 2>&1; then
|
||||
+ AC_SUBST([CC_CLANG], [1])
|
||||
+ AC_MSG_RESULT([yes])
|
||||
+ else
|
||||
+ AC_SUBST([CC_CLANG], [0])
|
||||
+ AC_MSG_RESULT([no])
|
||||
+fi
|
||||
+
|
||||
dnl --------------------------------------------------
|
||||
dnl Set build flags based on environment
|
||||
dnl --------------------------------------------------
|
||||
@@ -132,10 +142,15 @@ else
|
||||
AC_MSG_RESULT([$GCC_VERSION])
|
||||
case $host in
|
||||
*86-*-linux*)
|
||||
+ if test "$CC_CLANG" = "1"; then
|
||||
+ ieeefp=""
|
||||
+ else
|
||||
+ ieefp="-mno-ieee-fp"
|
||||
+ fi
|
||||
DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
|
||||
- CFLAGS="-O3 -Wall -Wextra -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
|
||||
+ CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char ${ieefp}"
|
||||
# PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
|
||||
- PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
|
||||
+ PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math ${ieefp} -D_REENTRANT -fsigned-char -fno-inline"
|
||||
|
||||
# glibc < 2.1.3 has a serious FP bug in the math inline header
|
||||
# that will cripple Vorbis. Look to see if the magic FP stack
|
||||
--
|
||||
2.17.0
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Ogg Vorbis Audio Codec"
|
||||
DESCRIPTION = "Ogg Vorbis is a high-quality lossy audio codec \
|
||||
that is free of intellectual property restrictions. libvorbis \
|
||||
is the main vorbis codec library."
|
||||
HOMEPAGE = "https://xiph.org/vorbis/"
|
||||
BUGTRACKER = "https://gitlab.xiph.org/xiph/vorbis/-/issues"
|
||||
SECTION = "libs"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=73d9c8942c60b846c3bad13cc6c2e520 \
|
||||
file://include/vorbis/vorbisenc.h;beginline=1;endline=11;md5=c95a4ac2b4125f00a9acf61449ebb843"
|
||||
DEPENDS = "libogg"
|
||||
|
||||
SRC_URI = "http://downloads.xiph.org/releases/vorbis/${BP}.tar.xz \
|
||||
file://0001-configure-Check-for-clang.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "50902641d358135f06a8392e61c9ac77"
|
||||
SRC_URI[sha256sum] = "b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
Reference in New Issue
Block a user