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 8e4e5479cee153db7315d5134663fa87082b39fc Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 25 Mar 2024 17:46:24 -0700
|
||||
Subject: [PATCH] include libgen.h for basename
|
||||
|
||||
basename prototype has been removed from string.h from latest musl [1]
|
||||
compilers e.g. clang-18 flags the absense of prototype as error. therefore
|
||||
include libgen.h for providing it.
|
||||
|
||||
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/namhyung/uftrace/pull/1909]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
utils/utils.h | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/utils/utils.h b/utils/utils.h
|
||||
index 69a6072b..60265431 100644
|
||||
--- a/utils/utils.h
|
||||
+++ b/utils/utils.h
|
||||
@@ -11,6 +11,9 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include <endian.h>
|
||||
+#ifndef __GLIBC__
|
||||
+#include <libgen.h>
|
||||
+#endif
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
SUMMARY = "Trace and analyze execution of a program written in C/C++, Rust and Python"
|
||||
HOMEPAGE = "https://github.com/namhyung/uftrace"
|
||||
BUGTRACKER = "https://github.com/namhyung/uftrace/issues"
|
||||
SECTION = "devel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS = "elfutils"
|
||||
DEPENDS:append:libc-musl = " argp-standalone"
|
||||
|
||||
inherit autotools
|
||||
|
||||
SRCREV = "9d8657e90b918994d7d2bcf6dd2cc7354c35a1b4"
|
||||
SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \
|
||||
file://0001-include-libgen.h-for-basename.patch"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
LDFLAGS:append:libc-musl = " -largp"
|
||||
|
||||
def set_target_arch(d):
|
||||
import re
|
||||
arch = d.getVar('TARGET_ARCH')
|
||||
if re.match(r'i.86', arch, re.I):
|
||||
return 'i386'
|
||||
elif re.match('armeb', arch, re.I):
|
||||
return 'arm'
|
||||
else:
|
||||
return arch
|
||||
|
||||
EXTRA_UFTRACE_OECONF = "ARCH=${@set_target_arch(d)} \
|
||||
with_elfutils=/use/libelf/from/sysroot"
|
||||
|
||||
do_configure() {
|
||||
${S}/configure ${EXTRA_UFTRACE_OECONF}
|
||||
}
|
||||
|
||||
FILES_SOLIBSDEV = ""
|
||||
FILES:${PN} += "${libdir}/*.so"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|riscv64)"
|
||||
|
||||
# uftrace supports armv6 and above
|
||||
COMPATIBLE_HOST:armv4 = 'null'
|
||||
COMPATIBLE_HOST:armv5 = 'null'
|
||||
Reference in New Issue
Block a user