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,29 @@
|
||||
From 2cf9a3f919317784e7cecdff6b632cdb2665c580 Mon Sep 17 00:00:00 2001
|
||||
From: Meng Li <Meng.Li@windriver.com>
|
||||
Date: Mon, 12 Jun 2023 15:17:21 +0800
|
||||
Subject: [PATCH] tsntool: remove redundant parameters from BIN_LDFLAGS
|
||||
|
||||
The recipe file has pass the same parameter(-Wl,-rpath-link,<lib path>)
|
||||
to Makefile, so remove redundant parameters from BIN_LDFLAGS.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Meng Li <Meng.Li@windriver.com>
|
||||
---
|
||||
Makefile | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 0ba88b4..39a98c0 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -16,7 +16,6 @@ BIN_CFLAGS += -Wall -Wextra -Wno-error=unused-parameter -Wno-error=sign-compare
|
||||
BIN_CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-3.0 libnl-genl-3.0 libcjson) -Iinclude
|
||||
BIN_LDFLAGS += -ltsn $(shell $(PKG_CONFIG) --libs libnl-3.0 libnl-genl-3.0 libcjson) -lpthread -lm -lrt
|
||||
BIN_LDFLAGS += -lreadline -ltermcap -L.
|
||||
-BIN_LDFLAGS += -Wl,-rpath,$(shell pwd) # Compiled lib at local folder
|
||||
|
||||
BIN_SRC =
|
||||
LIB_SRC =
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
SUMMARY = "Configure TSN funtionalitie"
|
||||
DESCRIPTION = "A tool to configure TSN funtionalities in user space"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d"
|
||||
|
||||
DEPENDS = "cjson libnl readline"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1"
|
||||
SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e"
|
||||
|
||||
SRC_URI:append = " \
|
||||
file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure[depends] += "virtual/kernel:do_shared_workdir"
|
||||
|
||||
do_compile:prepend() {
|
||||
mkdir -p ${S}/include/linux
|
||||
cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux
|
||||
}
|
||||
do_install() {
|
||||
install -d ${D}${bindir} ${D}${libdir}
|
||||
install -m 0755 ${S}/tsntool ${D}${bindir}
|
||||
install -m 0755 ${S}/libtsn.so ${D}${libdir}
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}-dbg ${PN}"
|
||||
FILES:${PN} = "${libdir}/libtsn.so ${bindir}/*"
|
||||
INSANE_SKIP:${PN} += "file-rdeps rpaths dev-so"
|
||||
COMPATIBLE_MACHINE = "(qoriq)"
|
||||
PARALLEL_MAKE = ""
|
||||
Reference in New Issue
Block a user