From 49a0ca309d2bcbecab1a8e4e208ea04f75f68668 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Mon, 26 Oct 2009 04:33:18 +0000 Subject: add ELM fat implementation. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@138 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- filesystem/dfs/SConscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'filesystem/dfs/SConscript') 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) -- cgit v1.3.1