mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
yaffs2-utils: Upgrade to 20221209
* The 20221209 is the commit date of SRCREV since this recipe has no version. * Add 0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch to fix build error: yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
|||||||
|
From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Robert Yang <liezhi.yang@windriver.com>
|
||||||
|
Date: Tue, 5 Mar 2024 12:03:23 +0000
|
||||||
|
Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined
|
||||||
|
|
||||||
|
Fixed:
|
||||||
|
yaffs_guts.h:501:9: error: unknown type name 'YTIME_T'
|
||||||
|
501 | YTIME_T yst_uid;
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
||||||
|
---
|
||||||
|
yaffs_guts.h | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/yaffs_guts.h b/yaffs_guts.h
|
||||||
|
index 74ded0b..598271b 100644
|
||||||
|
--- a/yaffs_guts.h
|
||||||
|
+++ b/yaffs_guts.h
|
||||||
|
@@ -487,6 +487,10 @@ struct yaffs_obj {
|
||||||
|
|
||||||
|
YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1];
|
||||||
|
|
||||||
|
+#ifndef YTIME_T
|
||||||
|
+#define YTIME_T time_t
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifdef CONFIG_YAFFS_WINCE
|
||||||
|
//these are always 64 bits
|
||||||
|
u32 win_ctime[2];
|
||||||
|
--
|
||||||
|
2.35.5
|
||||||
|
|
||||||
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=11;endline=13;md5=5f5
|
|||||||
file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \
|
file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \
|
||||||
"
|
"
|
||||||
|
|
||||||
PV = "0.0+git"
|
# The commit date of SRCREV
|
||||||
|
PV = "20221209"
|
||||||
|
|
||||||
DEPENDS = "mtd-utils"
|
DEPENDS = "mtd-utils"
|
||||||
|
|
||||||
@@ -17,9 +18,10 @@ DEPENDS = "mtd-utils"
|
|||||||
SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
|
SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
|
||||||
file://makefile-add-ldflags.patch \
|
file://makefile-add-ldflags.patch \
|
||||||
file://0001-define-loff_t-if-not-already-defined.patch \
|
file://0001-define-loff_t-if-not-already-defined.patch \
|
||||||
|
file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f"
|
SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670"
|
||||||
|
|
||||||
UPSTREAM_CHECK_COMMITS = "1"
|
UPSTREAM_CHECK_COMMITS = "1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user