diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/yaffs2')
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch (renamed from meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/makefile-add-ldflags.patch) | 15 | ||||
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0002-define-loff_t-if-not-already-defined.patch (renamed from meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-define-loff_t-if-not-already-defined.patch) | 20 | ||||
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch (renamed from meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch) | 16 | ||||
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch | 34 | ||||
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | 13 |
5 files changed, 71 insertions, 27 deletions
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/makefile-add-ldflags.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch index bb21899eb3..ac38115952 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/makefile-add-ldflags.patch +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch | |||
@@ -1,12 +1,20 @@ | |||
1 | From 8393f9d64b4cead722ee1a7674da1c41b33cfdcc Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 20 Jun 2025 15:08:19 +0800 | ||
4 | Subject: [PATCH] Makefile: add LDFLAGS | ||
5 | |||
1 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
2 | 7 | ||
3 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
9 | --- | ||
10 | utils/Makefile | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
4 | 12 | ||
5 | diff --git a/utils/Makefile b/utils/Makefile | 13 | diff --git a/utils/Makefile b/utils/Makefile |
6 | index 710ebbf..6259893 100644 | 14 | index a00fa13..13e91f7 100644 |
7 | --- a/utils/Makefile | 15 | --- a/utils/Makefile |
8 | +++ b/utils/Makefile | 16 | +++ b/utils/Makefile |
9 | @@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c | 17 | @@ -56,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c |
10 | $(CC) -c $(CFLAGS) $< -o $@ | 18 | $(CC) -c $(CFLAGS) $< -o $@ |
11 | 19 | ||
12 | mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) | 20 | mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) |
@@ -19,3 +27,6 @@ index 710ebbf..6259893 100644 | |||
19 | 27 | ||
20 | 28 | ||
21 | clean: | 29 | clean: |
30 | -- | ||
31 | 2.34.1 | ||
32 | |||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-define-loff_t-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0002-define-loff_t-if-not-already-defined.patch index 6cedc3cb4e..24d1eaa596 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-define-loff_t-if-not-already-defined.patch +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0002-define-loff_t-if-not-already-defined.patch | |||
@@ -1,22 +1,22 @@ | |||
1 | From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001 | 1 | From 72f923440fef3b875e5570094e4cf398a201521f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 13 Jul 2017 18:29:52 -0700 | 3 | Date: Thu, 13 Jul 2017 18:29:52 -0700 |
4 | Subject: [PATCH] define loff_t if not already defined | 4 | Subject: [PATCH] define loff_t if not already defined |
5 | 5 | ||
6 | Helps to build with musl | 6 | Helps to build with musl |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
11 | 9 | ||
12 | yaffs_guts.h | 4 ++++ | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
11 | --- | ||
12 | core/yaffs_guts.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | 13 | 1 file changed, 4 insertions(+) |
14 | 14 | ||
15 | diff --git a/yaffs_guts.h b/yaffs_guts.h | 15 | diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h |
16 | index 6bcf12d..4af17ce 100644 | 16 | index 74ded0b..4bd2646 100644 |
17 | --- a/yaffs_guts.h | 17 | --- a/core/yaffs_guts.h |
18 | +++ b/yaffs_guts.h | 18 | +++ b/core/yaffs_guts.h |
19 | @@ -18,6 +18,10 @@ | 19 | @@ -17,6 +17,10 @@ |
20 | 20 | ||
21 | #include "yportenv.h" | 21 | #include "yportenv.h" |
22 | 22 | ||
@@ -28,5 +28,5 @@ index 6bcf12d..4af17ce 100644 | |||
28 | #define YAFFS_FAIL 0 | 28 | #define YAFFS_FAIL 0 |
29 | 29 | ||
30 | -- | 30 | -- |
31 | 2.13.2 | 31 | 2.34.1 |
32 | 32 | ||
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/0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch index 98c27d2654..5b67ceddff 100644 --- 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/0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 | 1 | From 75fe0fbe254f63fe58d22f2d6090e9a8b3a6fe41 Mon Sep 17 00:00:00 2001 |
2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
3 | Date: Tue, 5 Mar 2024 12:03:23 +0000 | 3 | Date: Tue, 5 Mar 2024 12:03:23 +0000 |
4 | Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined | 4 | Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined |
@@ -11,14 +11,14 @@ Upstream-Status: Pending | |||
11 | 11 | ||
12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
13 | --- | 13 | --- |
14 | yaffs_guts.h | 4 ++++ | 14 | core/yaffs_guts.h | 4 ++++ |
15 | 1 file changed, 4 insertions(+) | 15 | 1 file changed, 4 insertions(+) |
16 | 16 | ||
17 | diff --git a/yaffs_guts.h b/yaffs_guts.h | 17 | diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h |
18 | index 74ded0b..598271b 100644 | 18 | index 4bd2646..507bf16 100644 |
19 | --- a/yaffs_guts.h | 19 | --- a/core/yaffs_guts.h |
20 | +++ b/yaffs_guts.h | 20 | +++ b/core/yaffs_guts.h |
21 | @@ -487,6 +487,10 @@ struct yaffs_obj { | 21 | @@ -491,6 +491,10 @@ struct yaffs_obj { |
22 | 22 | ||
23 | YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; | 23 | YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; |
24 | 24 | ||
@@ -30,5 +30,5 @@ index 74ded0b..598271b 100644 | |||
30 | //these are always 64 bits | 30 | //these are always 64 bits |
31 | u32 win_ctime[2]; | 31 | u32 win_ctime[2]; |
32 | -- | 32 | -- |
33 | 2.35.5 | 33 | 2.34.1 |
34 | 34 | ||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch new file mode 100644 index 0000000000..987652afce --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 8349d121e3595ac4d935169150984260f8b697b9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 20 Jun 2025 15:20:05 +0800 | ||
4 | Subject: [PATCH] utils/Makefile: fix symbolic links | ||
5 | |||
6 | Create correct symlinks to fix the following error: | ||
7 | |||
8 | mkyaffsimage.c:29:10: fatal error: yaffs_ecc.h: No such file or directory | ||
9 | 29 | #include "yaffs_ecc.h" | ||
10 | | ^~~~~~~~~~~~~ | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/Aleph-One-Ltd/yaffs2/pull/13] | ||
13 | |||
14 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
15 | --- | ||
16 | utils/Makefile | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/utils/Makefile b/utils/Makefile | ||
20 | index a00fa13..22c2fdb 100644 | ||
21 | --- a/utils/Makefile | ||
22 | +++ b/utils/Makefile | ||
23 | @@ -45,7 +45,7 @@ ALL_LINKS = $(BASE_LINKS) $(DIRECT_LINKS) | ||
24 | all: mkyaffsimage mkyaffs2image | ||
25 | |||
26 | $(BASE_LINKS): | ||
27 | - ln -s ../$@ $@ | ||
28 | + ln -s ../core/$@ $@ | ||
29 | |||
30 | $(DIRECT_LINKS): | ||
31 | ln -s ../direct/$@ $@ | ||
32 | -- | ||
33 | 2.34.1 | ||
34 | |||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index ca5e3302b3..d30309a95a 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | |||
@@ -14,18 +14,17 @@ PV = "20221209" | |||
14 | 14 | ||
15 | DEPENDS = "mtd-utils" | 15 | DEPENDS = "mtd-utils" |
16 | 16 | ||
17 | # Source is the HEAD of master branch at the time of writing this recipe | 17 | SRC_URI = "git://github.com/Aleph-One-Ltd/yaffs2;protocol=https;branch=master \ |
18 | SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ | 18 | file://0001-Makefile-add-LDFLAGS.patch \ |
19 | file://makefile-add-ldflags.patch \ | 19 | file://0002-define-loff_t-if-not-already-defined.patch \ |
20 | file://0001-define-loff_t-if-not-already-defined.patch \ | 20 | file://0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ |
21 | file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ | 21 | file://0004-utils-Makefile-fix-symbolic-links.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" | 24 | SRCREV = "68030683543cccb4d942e3fedbcad1dc267e261c" |
25 | 25 | ||
26 | UPSTREAM_CHECK_COMMITS = "1" | 26 | UPSTREAM_CHECK_COMMITS = "1" |
27 | 27 | ||
28 | S = "${WORKDIR}/git" | ||
29 | 28 | ||
30 | CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" | 29 | CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" |
31 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 30 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |