diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch')
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch | 34 |
1 files changed, 34 insertions, 0 deletions
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 | |||