fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1252 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
515b337983
commit
84ac86f3d1
|
@ -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 @@
|
||||||
/* 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'):
|
||||||
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']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue