summaryrefslogtreecommitdiff
path: root/filesystem/dfs/SConscript
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-10-26 04:33:18 +0000
committerbernard.xiong <[email protected]>2009-10-26 04:33:18 +0000
commit49a0ca309d2bcbecab1a8e4e208ea04f75f68668 (patch)
treec8ac6578a746719bff9085b91e637279afe1c8eb /filesystem/dfs/SConscript
parent36dfee407569b4664e9be11217237a92b7197ab2 (diff)
add ELM fat implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@138 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'filesystem/dfs/SConscript')
-rw-r--r--filesystem/dfs/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/filesystem/dfs/SConscript b/filesystem/dfs/SConscript
index a53a8dca23..72a73fd57b 100644
--- a/filesystem/dfs/SConscript
+++ b/filesystem/dfs/SConscript
@@ -37,6 +37,13 @@ filesystems/efsl/src/fs/vfat/time.c
filesystems/efsl/src/fs/vfat/ui.c
""")
+# DFS-ELMFAT options
+elmfat = Split("""
+filesystems/elmfat/dfs_elm.c
+filesystems/elmfat/ff.c
+filesystems/elmfat/option/cc936.c
+""")
+
# DFS-YAFFS2 options
yaffs2_main = Split("""
filesystems/yaffs2/direct/yaffscfg.c
@@ -69,6 +76,10 @@ if rtconfig.RT_USING_DFS_EFSL:
src_local = src_local + efsl
path = path + [RTT_ROOT + '/filesystem/dfs/filesystems/efsl/src/include', RTT_ROOT + '/filesystem/dfs/filesystems/efsl/src/base/include', RTT_ROOT + '/filesystem/dfs/filesystems/efsl/src/fs/vfat/include']
+if rtconfig.RT_USING_DFS_ELMFAT:
+ src_local = src_local + elmfat
+ path = path + [RTT_ROOT + '/filesystem/dfs/filesystems/elmfat']
+
env.Append(CPPPATH = path)
obj = env.Object(src_local)