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,35 @@
|
||||
We need LDFLAGS to be respected otherwise there are QA warnings as the right
|
||||
flags don't get used.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
|
||||
From d92af0483c20365fd0af740d0baef8870b4aa374 Mon Sep 17 00:00:00 2001
|
||||
From: Abdur Rehman <abdur_rehman@mentor.com>
|
||||
Date: Wed, 26 Aug 2015 19:18:11 +0500
|
||||
Subject: [PATCH] tcf-agent: obey LDFLAGS
|
||||
|
||||
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
|
||||
|
||||
Rebased to 4a2c4baaccbc8c29ce0297705de9a4e096d57ce5 version
|
||||
|
||||
Signed-off-by: Mark hatle <mark.hatle@amd.com>
|
||||
|
||||
|
||||
---
|
||||
Makefile.inc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: agent/Makefile.inc
|
||||
===================================================================
|
||||
--- agent.orig/Makefile.inc
|
||||
+++ agent/Makefile.inc
|
||||
@@ -111,7 +111,7 @@ NO_LINK_F ?= -c
|
||||
# Linker definition and flags
|
||||
|
||||
LINK ?= $(CC)
|
||||
-LINK_FLAGS ?= $(CFLAGS)
|
||||
+LINK_FLAGS ?= $(LDFLAGS) $(CFLAGS)
|
||||
LINK_OUT_F ?= $(OUT_OBJ_F)
|
||||
|
||||
# Archiver definition and flags
|
||||
65
sources/poky/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.init
Executable file
65
sources/poky/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.init
Executable file
@@ -0,0 +1,65 @@
|
||||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: tcf-agent
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: Target Communication Framework agent
|
||||
### END INIT INFO
|
||||
|
||||
DAEMON_PATH=/usr/sbin/tcf-agent
|
||||
DAEMON_NAME=`basename $DAEMON_PATH`
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
||||
test -x $DAEMON_PATH || exit 0
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
export PATH
|
||||
|
||||
RETVAL=0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $DAEMON_NAME: "
|
||||
$DAEMON_PATH -d -L- -l0
|
||||
RETVAL=$?
|
||||
if [ $RETVAL -eq 0 ] ; then
|
||||
echo "OK"
|
||||
touch /var/lock/subsys/$DAEMON_NAME
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
echo -n "Stopping $DAEMON_NAME: "
|
||||
start-stop-daemon -K -q -x $DAEMON_PATH -s USR2
|
||||
rm -f /var/lock/subsys/$DAEMON_NAME
|
||||
if [ -n "`/bin/pidof $DAEMON_PATH`" ] ; then
|
||||
echo "FAIL"
|
||||
else
|
||||
echo "OK"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
|
||||
status)
|
||||
status $DAEMON_NAME
|
||||
RETVAL=$?
|
||||
;;
|
||||
|
||||
condrestart)
|
||||
[ -f /var/lock/subsys/$DAEMON_NAME ] && $0 restart
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "usage: $0 { start | stop | status | restart | condrestart | status }"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit $RETVAL
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Target Communication Framework agent
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@SBINDIR@/tcf-agent -d -L- -l0
|
||||
KillSignal=USR2
|
||||
SuccessExitStatus=USR2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,62 @@
|
||||
SUMMARY = "Target Communication Framework for the Eclipse IDE"
|
||||
HOMEPAGE = "https://gitlab.eclipse.org/eclipse/tcf/"
|
||||
DESCRIPTION = "TCF is a vendor-neutral, lightweight, extensible network protocol mainly for communicating with embedded systems (targets)."
|
||||
BUGTRACKER = "https://bugs.eclipse.org/bugs/"
|
||||
|
||||
LICENSE = "EPL-1.0 | EDL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
|
||||
|
||||
SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
|
||||
PV = "1.8.0+git"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \
|
||||
file://ldflags.patch \
|
||||
file://tcf-agent.init \
|
||||
file://tcf-agent.service \
|
||||
"
|
||||
|
||||
DEPENDS = "util-linux openssl"
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
S = "${WORKDIR}/git/agent"
|
||||
|
||||
inherit update-rc.d systemd
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "tcf-agent.service"
|
||||
|
||||
INITSCRIPT_NAME = "tcf-agent"
|
||||
INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ."
|
||||
|
||||
# mangling needed for make
|
||||
MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686, | sed s,aarch64.*,a64, | sed s,armeb,arm,`"
|
||||
MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`"
|
||||
|
||||
EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
|
||||
|
||||
LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
|
||||
-DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
|
||||
-DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
|
||||
|
||||
|
||||
# These features don't compile for several cases.
|
||||
#
|
||||
CFLAGS:append:arc = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:mips = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:mips64 = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:libc-musl = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:powerpc64 = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:powerpc64le = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:riscv64 = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:riscv32 = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS:append:loongarch64 = " ${LCL_STOP_SERVICES}"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install INSTALLROOT=${D}
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/tcf-agent.service ${D}${systemd_system_unitdir}
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/tcf-agent.service
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user