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,43 @@
|
||||
From 81ec65e72f357fb2c395e40c5195434bbaddf7f7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 16 May 2020 08:21:52 -0700
|
||||
Subject: [PATCH] tools: Mark struct input_field file_field extern
|
||||
|
||||
This struct is already defined in common/parse_utils.c
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tools/header_generation/create_hdr_common.c | 2 +-
|
||||
tools/pbi_creation/create_pbi_common.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/header_generation/create_hdr_common.c b/tools/header_generation/create_hdr_common.c
|
||||
index bfa90a3..edf632c 100644
|
||||
--- a/tools/header_generation/create_hdr_common.c
|
||||
+++ b/tools/header_generation/create_hdr_common.c
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <crypto_utils.h>
|
||||
|
||||
extern struct g_data_t gd;
|
||||
-struct input_field file_field;
|
||||
+extern struct input_field file_field;
|
||||
|
||||
extern char line_data[];
|
||||
static struct option long_options[] = {
|
||||
diff --git a/tools/pbi_creation/create_pbi_common.c b/tools/pbi_creation/create_pbi_common.c
|
||||
index ff2ed84..bd976da 100644
|
||||
--- a/tools/pbi_creation/create_pbi_common.c
|
||||
+++ b/tools/pbi_creation/create_pbi_common.c
|
||||
@@ -57,7 +57,7 @@ static char *parse_list[] = {
|
||||
|
||||
extern struct g_data_t gd;
|
||||
extern char line_data[];
|
||||
-struct input_field file_field;
|
||||
+extern struct input_field file_field;
|
||||
|
||||
#define NUM_PARSE_LIST (sizeof(parse_list) / sizeof(char *))
|
||||
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
SUMMARY = "utility for security boot"
|
||||
SECTION = "cst"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e959d5d617e33779d0e90ce1d9043eff"
|
||||
|
||||
DEPENDS += "openssl qoriq-cst-native"
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
GENKEYS ?= "${STAGING_BINDIR_NATIVE}/cst/gen_keys"
|
||||
GENKEYS:class-native = "./gen_keys"
|
||||
|
||||
inherit kernel-arch
|
||||
|
||||
# specify the non default keys pair for secure boot if needed
|
||||
#SECURE_PRI_KEY = "/path/srk.pri"
|
||||
#SECURE_PUB_KEY = "/path/srk.pub"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-qoriq/cst;protocol=https;nobranch=1 \
|
||||
file://0001-tools-Mark-struct-input_field-file_field-extern.patch \
|
||||
"
|
||||
SRCREV = "e96dead3c339f6addb1600249be67e1884cdbcc5"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"'
|
||||
CFLAGS:append = ' -Wno-deprecated-declarations'
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D} BIN_DEST_DIR=${bindir}
|
||||
|
||||
if [ -n "${SECURE_PRI_KEY}" ]; then
|
||||
cp -f ${SECURE_PRI_KEY} ${D}/${bindir}/cst/srk.pri
|
||||
cp -f ${SECURE_PUB_KEY} ${D}/${bindir}/cst/srk.pub
|
||||
elif [ ! -f ${D}/${bindir}/cst/srk.pri -o ! ${D}/${bindir}/cst/srk.pub ]; then
|
||||
cd ${D}/${bindir}/cst && ${GENKEYS} 1024
|
||||
fi
|
||||
}
|
||||
|
||||
FILES:${PN}-dbg += "${bindir}/cst/.debug"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user