qoriq-cst: Update from LF-6.12.0-2.0.0

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
This commit is contained in:
Zelan Zou 2025-08-29 15:17:19 +08:00
parent 9e2dc51341
commit 359dd172ea
2 changed files with 4 additions and 47 deletions

View File

@ -1,43 +0,0 @@
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

View File

@ -16,10 +16,8 @@ inherit kernel-arch
#SECURE_PRI_KEY = "/path/srk.pri" #SECURE_PRI_KEY = "/path/srk.pri"
#SECURE_PUB_KEY = "/path/srk.pub" #SECURE_PUB_KEY = "/path/srk.pub"
SRC_URI = "git://github.com/nxp-qoriq/cst;protocol=https;nobranch=1 \ SRC_URI = "git://github.com/nxp-qoriq/cst;protocol=https;nobranch=1"
file://0001-tools-Mark-struct-input_field-file_field-extern.patch \ SRCREV = "892d2ed3207d78a3cb5533eeb91bcc73967e3e36"
"
SRCREV = "e96dead3c339f6addb1600249be67e1884cdbcc5"
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"' EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"'
CFLAGS:append = ' -Wno-deprecated-declarations' CFLAGS:append = ' -Wno-deprecated-declarations'
@ -39,3 +37,5 @@ do_install () {
FILES:${PN}-dbg += "${bindir}/cst/.debug" FILES:${PN}-dbg += "${bindir}/cst/.debug"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-dbg += " buildpaths"