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:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,68 @@
|
||||
From 6c7567e05c28b8cb6c7dc68c278950a32feb6f64 Mon Sep 17 00:00:00 2001
|
||||
From: Ting Liu <b28495@freescale.com>
|
||||
Date: Wed, 9 May 2012 02:42:57 -0500
|
||||
Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Ting Liu <b28495@freescale.com>
|
||||
---
|
||||
SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++--
|
||||
SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile | 4 ++--
|
||||
testfloat/powerpc-linux-gcc/Makefile | 8 ++++----
|
||||
3 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile b/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile
|
||||
index 28f1e33..4098048 100644
|
||||
--- a/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile
|
||||
+++ b/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile
|
||||
@@ -5,8 +5,8 @@ SOFTFLOAT_MACROS = ../softfloat-macros
|
||||
OBJ = .o
|
||||
EXE =
|
||||
INCLUDES = -I. -I..
|
||||
-COMPILE_C = $(COMPILE_PREFIX)gcc -msoft-float -c -o $@ $(INCLUDES) -I- -O2
|
||||
-LINK = $(COMPILE_PREFIX)gcc -o $@
|
||||
+COMPILE_C = $(CC) -msoft-float -c -o $@ $(INCLUDES) -I- -O2
|
||||
+LINK = $(CC) -o $@
|
||||
|
||||
ALL: softfloat$(OBJ) timesoftfloat$(EXE)
|
||||
|
||||
diff --git a/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile b/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile
|
||||
index a5e2cc7..c34e16e 100644
|
||||
--- a/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile
|
||||
+++ b/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile
|
||||
@@ -5,8 +5,8 @@ SOFTFLOAT_MACROS = ../softfloat-macros
|
||||
OBJ = .o
|
||||
EXE =
|
||||
INCLUDES = -I. -I..
|
||||
-COMPILE_C = $(COMPILE_PREFIX) -mcpu=8548 -mhard-float -mfloat-gprs=double -o $@ $(INCLUDES) -I- -O2
|
||||
-LINK = $(COMPILE_PREFIX) -o $@
|
||||
+COMPILE_C = $(CC) -mcpu=8548 -mhard-float -mfloat-gprs=double -o $@ $(INCLUDES) -I- -O2
|
||||
+LINK = $(CC) -o $@
|
||||
|
||||
ALL: softfloat$(OBJ) timesoftfloat$(EXE)
|
||||
|
||||
diff --git a/testfloat/powerpc-linux-gcc/Makefile b/testfloat/powerpc-linux-gcc/Makefile
|
||||
index de50aad..1a8b5f7 100644
|
||||
--- a/testfloat/powerpc-linux-gcc/Makefile
|
||||
+++ b/testfloat/powerpc-linux-gcc/Makefile
|
||||
@@ -8,13 +8,13 @@ OBJ = .o
|
||||
EXE =
|
||||
INCLUDES = -I. -I.. -I$(SOFTFLOAT_DIR)
|
||||
|
||||
-COMPILE_C = $(COMPILE_PREFIX)gcc -c -o $@ $(INCLUDES) -I- -O $(EXTRA_CFLAGS)
|
||||
+COMPILE_C = $(CC) -c -o $@ $(INCLUDES) -I- -O $(EXTRA_CFLAGS)
|
||||
|
||||
-COMPILE_C_HARD = $(COMPILE_PREFIX)gcc -c -te500v2 -o $@ $(INCLUDES)
|
||||
+COMPILE_C_HARD = $(CC) -c -o $@ $(INCLUDES)
|
||||
|
||||
-COMPILE_SLOWFLOAT_C = $(COMPILE_PREFIX)gcc -c -o $@ $(INCLUDES) -I- -O
|
||||
+COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O
|
||||
|
||||
-LINK = $(COMPILE_PREFIX)gcc -lm -o $@
|
||||
+LINK = $(CC) -lm -o $@ ${LDFLAGS}
|
||||
|
||||
SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h
|
||||
SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ)
|
||||
--
|
||||
1.7.3.4
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
DESCRIPTION = "A program for testing floating-point implementation"
|
||||
LICENSE = "TestFloat"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145"
|
||||
|
||||
SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \
|
||||
http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \
|
||||
"
|
||||
SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \
|
||||
file://TestFloat-powerpc-E500v2-SPE-1.patch \
|
||||
file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
|
||||
"
|
||||
SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
|
||||
SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81"
|
||||
|
||||
S = "${WORKDIR}/TestFloat-2a"
|
||||
|
||||
do_unpack2(){
|
||||
mv ${WORKDIR}/SoftFloat-2b ${S}/SoftFloat-2b
|
||||
cd ${S}
|
||||
if [ -n "$(which fromdos)" ];then
|
||||
find -type f -exec fromdos {} \;
|
||||
elif [ -n "$(which dos2unix)" ];then
|
||||
find -type f -exec dos2unix {} \;
|
||||
else
|
||||
echo -e "\nERROR: command dos2unix or fromdos not found\n" && return 1
|
||||
fi
|
||||
}
|
||||
addtask do_unpack2 after do_unpack before do_patch
|
||||
|
||||
do_compile(){
|
||||
oe_runmake -C testfloat/powerpc-linux-gcc/ CC="${CC}" EXTRA_CFLAGS="-DTEST_KERNEL_EMU"
|
||||
}
|
||||
|
||||
do_install(){
|
||||
install -d ${D}/${bindir}
|
||||
install testfloat/powerpc-linux-gcc/testfloat ${D}/${bindir}
|
||||
install testfloat/powerpc-linux-gcc/testsoftfloat ${D}/${bindir}
|
||||
}
|
||||
|
||||
COMPATIBLE_HOST:e500v2 = ".*"
|
||||
COMPATIBLE_HOST ?= "(none)"
|
||||
|
||||
Reference in New Issue
Block a user