diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2024-03-08 01:28:15 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-03-08 10:07:30 -0800 |
commit | 1bafebf636f959892de6aebcd7cc790c78d54575 (patch) | |
tree | a5899a5fa68f9a87123b93d430010888739b0d5c /meta-filesystems/recipes-filesystems | |
parent | 9fedf2fab347f62864803b965891c132e7118592 (diff) | |
download | meta-openembedded-1bafebf636f959892de6aebcd7cc790c78d54575.tar.gz |
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>
Diffstat (limited to 'meta-filesystems/recipes-filesystems')
2 files changed, 38 insertions, 2 deletions
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch new file mode 100644 index 000000000..98c27d265 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Tue, 5 Mar 2024 12:03:23 +0000 | ||
4 | Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined | ||
5 | |||
6 | Fixed: | ||
7 | yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' | ||
8 | 501 | YTIME_T yst_uid; | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
13 | --- | ||
14 | yaffs_guts.h | 4 ++++ | ||
15 | 1 file changed, 4 insertions(+) | ||
16 | |||
17 | diff --git a/yaffs_guts.h b/yaffs_guts.h | ||
18 | index 74ded0b..598271b 100644 | ||
19 | --- a/yaffs_guts.h | ||
20 | +++ b/yaffs_guts.h | ||
21 | @@ -487,6 +487,10 @@ struct yaffs_obj { | ||
22 | |||
23 | YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; | ||
24 | |||
25 | +#ifndef YTIME_T | ||
26 | +#define YTIME_T time_t | ||
27 | +#endif | ||
28 | + | ||
29 | #ifdef CONFIG_YAFFS_WINCE | ||
30 | //these are always 64 bits | ||
31 | u32 win_ctime[2]; | ||
32 | -- | ||
33 | 2.35.5 | ||
34 | |||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index 7228172b8..ca5e3302b 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | |||
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=11;endline=13;md5=5f5 | |||
9 | file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \ | 9 | file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \ |
10 | " | 10 | " |
11 | 11 | ||
12 | PV = "0.0+git" | 12 | # The commit date of SRCREV |
13 | PV = "20221209" | ||
13 | 14 | ||
14 | DEPENDS = "mtd-utils" | 15 | DEPENDS = "mtd-utils" |
15 | 16 | ||
@@ -17,9 +18,10 @@ DEPENDS = "mtd-utils" | |||
17 | SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ | 18 | SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ |
18 | file://makefile-add-ldflags.patch \ | 19 | file://makefile-add-ldflags.patch \ |
19 | file://0001-define-loff_t-if-not-already-defined.patch \ | 20 | file://0001-define-loff_t-if-not-already-defined.patch \ |
21 | file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ | ||
20 | " | 22 | " |
21 | 23 | ||
22 | SRCREV = "9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f" | 24 | SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" |
23 | 25 | ||
24 | UPSTREAM_CHECK_COMMITS = "1" | 26 | UPSTREAM_CHECK_COMMITS = "1" |
25 | 27 | ||