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,34 @@
|
||||
From 8eda59654fd31416164c78f6068715b01767ed4e Mon Sep 17 00:00:00 2001
|
||||
From: Serhey Popovych <serhe.popovych@gmail.com>
|
||||
Date: Wed, 31 Oct 2018 07:31:47 -0400
|
||||
Subject: v86d: Support for cross compilation
|
||||
|
||||
It is common to build on one system for another (e.g. on IBM Power
|
||||
machine for Intel x86) where HOST_ARCH (uname -m) != TARGET_ARCH.
|
||||
|
||||
Take TARGET_ARCH from environment if it is given, otherwise fall back
|
||||
to `uname -m`.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
|
||||
---
|
||||
configure | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index cbbd6b3..046aa99 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -23,7 +23,8 @@ copt_x86emu_type="bool"
|
||||
copt_x86emu_def=auto
|
||||
copt_x86emu_test()
|
||||
{
|
||||
- local m=`uname -m`
|
||||
+ local m="${TARGET_ARCH:-$(uname -m)}"
|
||||
+
|
||||
if [ "$m" = "i686" -o "$m" = "i586" -o "$m" = "i486" -o "$m" = "i386" ]; then
|
||||
echo "n";
|
||||
elif [ "$m" = "x86_64" ]; then
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
21766
sources/poky/meta/recipes-bsp/v86d/v86d/Update-x86emu-from-X.org.patch
Normal file
21766
sources/poky/meta/recipes-bsp/v86d/v86d/Update-x86emu-from-X.org.patch
Normal file
File diff suppressed because it is too large
Load Diff
33
sources/poky/meta/recipes-bsp/v86d/v86d/ar-from-env.patch
Normal file
33
sources/poky/meta/recipes-bsp/v86d/v86d/ar-from-env.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
Fix cross link using host-cross ar
|
||||
|
||||
If building on 32bit host and creating 64bit libraries, the target
|
||||
package builds should not invoke the 32bit hosts's ar. Specifically
|
||||
you will get an error message like:
|
||||
|
||||
x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Llibs/x86emu v86_x86emu.o v86_mem.o v86_common.o v86.o -lx86emu -o v86d
|
||||
libs/x86emu/libx86emu.a: could not read symbols: Archive has no index; run ranlib to add one
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
---
|
||||
libs/x86emu/Makefile | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/libs/x86emu/Makefile
|
||||
+++ b/libs/x86emu/Makefile
|
||||
@@ -1,7 +1,11 @@
|
||||
OBJS = decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
|
||||
|
||||
+ifeq ($(AR),)
|
||||
+ AR = ar
|
||||
+endif
|
||||
+
|
||||
libx86emu.a: $(OBJS)
|
||||
- ar rv $@ $+
|
||||
+ $(AR) rv $@ $+
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
34
sources/poky/meta/recipes-bsp/v86d/v86d_0.1.10.bb
Normal file
34
sources/poky/meta/recipes-bsp/v86d/v86d_0.1.10.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "User support binary for the uvesafb kernel module"
|
||||
HOMEPAGE = "https://tracker.debian.org/pkg/v86d"
|
||||
DESCRIPTION = "v86d provides a backend for kernel drivers that need to execute x86 BIOS code. The code is executed in a controlled environment and the results are passed back to the kernel via the netlink interface."
|
||||
|
||||
# the copyright info is at the bottom of README, expect break
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README;md5=94ac1971e4f2309dc322d598e7b1f7dd"
|
||||
|
||||
RRECOMMENDS:${PN} = "kernel-module-uvesafb"
|
||||
|
||||
SRC_URI = "http://snapshot.debian.org/archive/debian/20110427T035506Z/pool/main/v/${BPN}/${BPN}_${PV}.orig.tar.gz \
|
||||
file://Update-x86emu-from-X.org.patch \
|
||||
file://ar-from-env.patch \
|
||||
file://Support-for-cross-compilation.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "889686ec8424468fe0d205742e77a4c2"
|
||||
SRC_URI[sha256sum] = "93575c82e4307d8c4c370ec6b767f5cf87e527b2378146d652a6d8e25d5bdbc5"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
|
||||
|
||||
do_configure () {
|
||||
TARGET_ARCH="${TARGET_ARCH}" ./configure --with-x86emu
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
KDIR="${STAGING_DIR_HOST}/usr" make
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${base_sbindir}
|
||||
install v86d ${D}${base_sbindir}/
|
||||
}
|
||||
Reference in New Issue
Block a user