summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-filesystems
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-filesystems')
-rw-r--r--meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb2
-rw-r--r--meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb1
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb2
-rw-r--r--meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb1
-rw-r--r--meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb1
-rw-r--r--meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb1
-rw-r--r--meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb1
-rw-r--r--meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb1
-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.patch34
-rw-r--r--meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb13
-rw-r--r--meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb1
14 files changed, 73 insertions, 36 deletions
diff --git a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
index 5dc3ea6632..2370633551 100644
--- a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
+++ b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
@@ -11,7 +11,7 @@ RDEPENDS:${PN} += "fuse"
11SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz" 11SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
12SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1" 12SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"
13 13
14S = "${WORKDIR}/httpfs2-${PV}" 14S = "${UNPACKDIR}/httpfs2-${PV}"
15 15
16do_compile() { 16do_compile() {
17 oe_runmake -C ${S} httpfs2 17 oe_runmake -C ${S} httpfs2
diff --git a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
index 7d0a83609e..06051d8013 100644
--- a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
+++ b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
@@ -18,7 +18,6 @@ SRC_URI = "git://github.com/prasad-joshi/logfsprogs.git;branch=master;protocol=h
18 " 18 "
19SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4" 19SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4"
20 20
21S = "${WORKDIR}/git"
22 21
23EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}"" 22EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}""
24 23
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb
index be2a5245ce..4c7fff8ea9 100644
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb
+++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb
@@ -10,7 +10,7 @@ SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \
10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ 10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
11 file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \ 11 file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \
12" 12"
13S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}" 13S = "${UNPACKDIR}/ntfs-3g_ntfsprogs-${PV}"
14SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c" 14SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c"
15 15
16UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/" 16UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/"
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb
index 7768a734d6..890c8aecc0 100644
--- a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb
@@ -17,7 +17,6 @@ SRC_URI = "git://github.com/owfs/owfs;branch=master;protocol=https \
17 file://owserver \ 17 file://owserver \
18 " 18 "
19 19
20S = "${WORKDIR}/git"
21 20
22inherit autotools-brokensep update-rc.d pkgconfig systemd 21inherit autotools-brokensep update-rc.d pkgconfig systemd
23 22
diff --git a/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb b/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb
index b8399265cd..05a1004b65 100644
--- a/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb
+++ b/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb
@@ -11,4 +11,3 @@ inherit autotools pkgconfig
11SRC_URI = "git://github.com/phatina/simple-mtpfs.git;protocol=https;branch=master" 11SRC_URI = "git://github.com/phatina/simple-mtpfs.git;protocol=https;branch=master"
12SRCREV = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529" 12SRCREV = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529"
13 13
14S = "${WORKDIR}/git"
diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
index 1f8357db00..97c7ad396e 100644
--- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
+++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
@@ -27,6 +27,5 @@ SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=m
27PACKAGECONFIG ??= "" 27PACKAGECONFIG ??= ""
28PACKAGECONFIG[libsecret] = "--with-libsecret=yes,--with-libsecret=no,libsecret" 28PACKAGECONFIG[libsecret] = "--with-libsecret=yes,--with-libsecret=no,libsecret"
29 29
30S = "${WORKDIR}/git"
31 30
32LDFLAGS:append:libc-musl = " -lexecinfo" 31LDFLAGS:append:libc-musl = " -lexecinfo"
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
index 569c7f6901..c3a00566ab 100644
--- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
+++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/libfuse/sshfs;branch=master;protocol=https \
10 file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \ 10 file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \
11" 11"
12SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7" 12SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7"
13S = "${WORKDIR}/git"
14 13
15inherit meson pkgconfig ptest 14inherit meson pkgconfig ptest
16 15
diff --git a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb
index e8fda05365..fc474e3238 100644
--- a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb
+++ b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb
@@ -14,6 +14,5 @@ SRCREV = "773f1853b043eeb64b7459f903a2c65bd096f9d9"
14DEPENDS = "fuse3" 14DEPENDS = "fuse3"
15RDEPENDS:${PN} = "bash" 15RDEPENDS:${PN} = "bash"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit cmake pkgconfig 18inherit cmake pkgconfig
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 @@
1From 8393f9d64b4cead722ee1a7674da1c41b33cfdcc Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 20 Jun 2025 15:08:19 +0800
4Subject: [PATCH] Makefile: add LDFLAGS
5
1Upstream-Status: Pending 6Upstream-Status: Pending
2 7
3Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 8Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9---
10 utils/Makefile | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
4 12
5diff --git a/utils/Makefile b/utils/Makefile 13diff --git a/utils/Makefile b/utils/Makefile
6index 710ebbf..6259893 100644 14index 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--
312.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 @@
1From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001 1From 72f923440fef3b875e5570094e4cf398a201521f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 18:29:52 -0700 3Date: Thu, 13 Jul 2017 18:29:52 -0700
4Subject: [PATCH] define loff_t if not already defined 4Subject: [PATCH] define loff_t if not already defined
5 5
6Helps to build with musl 6Helps to build with musl
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending 8Upstream-Status: Pending
11 9
12 yaffs_guts.h | 4 ++++ 10Signed-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
15diff --git a/yaffs_guts.h b/yaffs_guts.h 15diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h
16index 6bcf12d..4af17ce 100644 16index 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--
312.13.2 312.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 @@
1From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 1From 75fe0fbe254f63fe58d22f2d6090e9a8b3a6fe41 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Tue, 5 Mar 2024 12:03:23 +0000 3Date: Tue, 5 Mar 2024 12:03:23 +0000
4Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined 4Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined
@@ -11,14 +11,14 @@ Upstream-Status: Pending
11 11
12Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 12Signed-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
17diff --git a/yaffs_guts.h b/yaffs_guts.h 17diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h
18index 74ded0b..598271b 100644 18index 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--
332.35.5 332.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 @@
1From 8349d121e3595ac4d935169150984260f8b697b9 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 20 Jun 2025 15:20:05 +0800
4Subject: [PATCH] utils/Makefile: fix symbolic links
5
6Create correct symlinks to fix the following error:
7
8mkyaffsimage.c:29:10: fatal error: yaffs_ecc.h: No such file or directory
9 29 | #include "yaffs_ecc.h"
10 | ^~~~~~~~~~~~~
11
12Upstream-Status: Submitted [https://github.com/Aleph-One-Ltd/yaffs2/pull/13]
13
14Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
15---
16 utils/Makefile | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/utils/Makefile b/utils/Makefile
20index 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--
332.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
15DEPENDS = "mtd-utils" 15DEPENDS = "mtd-utils"
16 16
17# Source is the HEAD of master branch at the time of writing this recipe 17SRC_URI = "git://github.com/Aleph-One-Ltd/yaffs2;protocol=https;branch=master \
18SRC_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
24SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" 24SRCREV = "68030683543cccb4d942e3fedbcad1dc267e261c"
25 25
26UPSTREAM_CHECK_COMMITS = "1" 26UPSTREAM_CHECK_COMMITS = "1"
27 27
28S = "${WORKDIR}/git"
29 28
30CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" 29CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES"
31EXTRA_OEMAKE = "-e MAKEFLAGS=" 30EXTRA_OEMAKE = "-e MAKEFLAGS="
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
index 6fa9104236..cf56cca84c 100644
--- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \
11 file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \ 11 file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \
12" 12"
13 13
14S = "${WORKDIR}/git"
15 14
16# Using both 'module' and 'autotools' classes seems a bit odd, they both 15# Using both 'module' and 'autotools' classes seems a bit odd, they both
17# define a do_compile function. 16# define a do_compile function.