提交 84ac86f3 编写于 作者: B bernard.xiong

fix compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1252 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 515b3379
...@@ -31,9 +31,11 @@ ...@@ -31,9 +31,11 @@
#include <dfs_elm.h> #include <dfs_elm.h>
/* dfs Filesystem APIs */ /* dfs Filesystem APIs */
#include <dfs_fs.h> #include <dfs_fs.h>
#ifdef RT_USING_DFS_UFFS
/* dfs filesystem:UFFS filesystem init */ /* dfs filesystem:UFFS filesystem init */
#include <dfs_uffs.h> #include <dfs_uffs.h>
#endif #endif
#endif
#ifdef RT_USING_LWIP #ifdef RT_USING_LWIP
#include <netif/ethernetif.h> #include <netif/ethernetif.h>
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
/* the max number of file length */ /* the max number of file length */
#define RT_DFS_ELM_MAX_LFN 32 #define RT_DFS_ELM_MAX_LFN 32
/* #define RT_USING_DFS_YAFFS2 */ /* #define RT_USING_DFS_YAFFS2 */
#define RT_USING_UFFS /* #define RT_USING_DFS_UFFS */
#define RT_USING_DFS_NFS #define RT_USING_DFS_NFS
#define RT_NFS_HOST_EXPORT "192.168.1.5:/" #define RT_NFS_HOST_EXPORT "192.168.1.5:/"
......
...@@ -117,7 +117,7 @@ if GetDepend('RT_USING_DFS_DEVFS'): ...@@ -117,7 +117,7 @@ if GetDepend('RT_USING_DFS_DEVFS'):
src_local = src_local + devfs src_local = src_local + devfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs'] path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
if GetDepend('RT_USING_DFS_DEVFS'): if GetDepend('RT_USING_DFS_UFFS'):
src_local = src_local + uffs src_local = src_local + uffs
path = path + [RTT_ROOT + '/components/dfs/filesystems/uffs/src/inc', RTT_ROOT + '/components/dfs/filesystems/uffs', RTT_ROOT + '/components/dfs/filesystems/uffs/flash'] path = path + [RTT_ROOT + '/components/dfs/filesystems/uffs/src/inc', RTT_ROOT + '/components/dfs/filesystems/uffs', RTT_ROOT + '/components/dfs/filesystems/uffs/flash']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册