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,31 @@
|
||||
From 7c199e3b191a6f714694035f1eba40112e71675c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 1 Feb 2024 18:41:51 -0800
|
||||
Subject: [PATCH] Check for C standard version >= 23 for [[__fallthrough__]]
|
||||
|
||||
This avoids warnings with clang-18+ e.g.
|
||||
|
||||
pprintint.h:256:6: error: [[]] attributes are a C23 extension [-Werror,-Wc23-extensions]
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/dvidelabs/flatcc/pull/273]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
include/flatcc/portable/pattributes.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/flatcc/portable/pattributes.h b/include/flatcc/portable/pattributes.h
|
||||
index 9240fa3..dd4918a 100644
|
||||
--- a/include/flatcc/portable/pattributes.h
|
||||
+++ b/include/flatcc/portable/pattributes.h
|
||||
@@ -57,7 +57,7 @@ extern "C" {
|
||||
|
||||
|
||||
/* https://en.cppreference.com/w/c/language/attributes/fallthrough */
|
||||
-#if PORTABLE_HAS_C_ATTRIBUTE(__fallthrough__)
|
||||
+#if PORTABLE_HAS_C_ATTRIBUTE(__fallthrough__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
|
||||
# define pattribute_fallthrough [[__fallthrough__]]
|
||||
#elif PORTABLE_HAS_ATTRIBUTE(__fallthrough__)
|
||||
# define pattribute_fallthrough __attribute__((__fallthrough__))
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "FlatCC FlatBuffers in C for C"
|
||||
DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
|
||||
given a FlatBuffer schema file."
|
||||
HOMEPAGE = "https://github.com/dvidelabs/flatcc"
|
||||
SECTION = "devel/lib"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
|
||||
|
||||
PV = "0.6.2+git"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
|
||||
file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \
|
||||
"
|
||||
SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
# Enable installation for target
|
||||
# Disable tests as is not possible to execute with cross-compilation
|
||||
EXTRA_OECMAKE += " \
|
||||
-DFLATCC_INSTALL=On \
|
||||
-DFLATCC_TEST=Off \
|
||||
-DFLATCC_ALLOW_WERROR=Off \
|
||||
-DFLATCC_INSTALL_LIB=${baselib} \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user