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,36 @@
|
||||
From e506c4ea7e576e713fa64569b6784bdc22b3205f Mon Sep 17 00:00:00 2001
|
||||
From: Ting Liu <ting.liu@nxp.com>
|
||||
Date: Fri, 9 Oct 2020 13:13:13 +0530
|
||||
Subject: [PATCH] add -fcommon to fix gcc 10 build issue
|
||||
|
||||
Fix:
|
||||
| ...ld: src/aiop_logger.o:(.bss+0x0): multiple definition of `_debug_flag'; src/aiop_tool.o:(.bss+0x0): first defined here
|
||||
| ...ld: src/aiop_logger.o:(.bss+0x2): multiple definition of `_verbose_flag'; src/aiop_tool.o:(.bss+0x2): first defined here
|
||||
|
||||
Reference: https://gcc.gnu.org/gcc-10/porting_to.html
|
||||
As a workaround, legacy C code where all tentative definitions should be
|
||||
placed into a common block can be compiled with -fcommon.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 files changed, 1 insertion(+), 1 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index f10dda2..f568788 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -23,7 +23,7 @@ BINDIR = bin
|
||||
|
||||
|
||||
# FLAGS
|
||||
-CFLAGS = -Wall
|
||||
+CFLAGS = -Wall -fcommon
|
||||
#CFLAGS += -g -O0 # Enable for Debugging
|
||||
CFLAGS += -I$(top_builddir)/include
|
||||
CFLAGS += -I$(top_builddir)/src
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From bb5ab9463db2f79c11c60808fdccd5d57d31fdac Mon Sep 17 00:00:00 2001
|
||||
From: Chunrong Guo <chunrong.guo@nxp.com>
|
||||
Date: Fri, 7 Sep 2018 14:54:30 +0800
|
||||
Subject: [PATCH] remove libio.h
|
||||
|
||||
update for glibc libio.h removal in 2.28+
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com>
|
||||
---
|
||||
flib/mc/fsl_mc_sys.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/flib/mc/fsl_mc_sys.h b/flib/mc/fsl_mc_sys.h
|
||||
index b01db32..7ba8800 100644
|
||||
--- a/flib/mc/fsl_mc_sys.h
|
||||
+++ b/flib/mc/fsl_mc_sys.h
|
||||
@@ -52,7 +52,6 @@ struct fsl_mc_io {
|
||||
#else /* __linux_driver__ */
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <libio.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <sys/uio.h>
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "AIOP Tool is a userspace application for performing operations \
|
||||
on an AIOP Tile using MC interfaces. This application enables the user to \
|
||||
fetch status of tile, load a valid ELF file and run it on a tile and get and set \
|
||||
time of day."
|
||||
SECTION = "dpaa2"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \
|
||||
file://0001-remove-libio.h.patch \
|
||||
file://0001-add-fcommon-to-fix-gcc-10-build-issue.patch \
|
||||
"
|
||||
SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" KERNEL_PATH="${STAGING_KERNEL_DIR}"'
|
||||
|
||||
do_configure[depends] += "virtual/kernel:do_shared_workdir"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
chown -R root:root ${D}${bindir}/aiop_tool
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(ls2088a|ls1088a)"
|
||||
Reference in New Issue
Block a user