From 68384c37c4d20b8c8d24f0cc187dd7533b51b1a3 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sun, 19 Feb 2012 09:10:07 +0000 Subject: [PATCH] change RT_USING_MMCSD to RT_USING_SDIO; git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/SConscript | 3 +-- components/drivers/sdio/SConscript | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/dfs/SConscript b/components/dfs/SConscript index e2f5709492..e0bc27c6d3 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -174,8 +174,7 @@ if GetDepend('RT_USING_DFS_JFFS2'): RTT_ROOT + '/components/dfs/filesystems/jffs2/include', \ RTT_ROOT + '/components/dfs/filesystems/jffs2', \ RTT_ROOT + '/components/dfs/filesystems/jffs2/cyg/compress'] - #CPPDEFINES = CPPDEFINES + ['__ECOS', 'CYGOPT_FS_JFFS2_WRITE', 'CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE'] -group = DefineGroup('Filesystem', src_local, depend = ['RT_USING_DFS'], CPPPATH = path, CPPDEFINES = CPPDEFINES) +group = DefineGroup('Filesystem', src_local, depend = ['RT_USING_DFS'], CPPPATH = path, CPPDEFINES = CPPDEFINES, LIBRARY=True) Return('group') diff --git a/components/drivers/sdio/SConscript b/components/drivers/sdio/SConscript index 2c11a2b0f5..2c0cacd2b0 100644 --- a/components/drivers/sdio/SConscript +++ b/components/drivers/sdio/SConscript @@ -11,6 +11,6 @@ sd.c # The set of source files associated with this SConscript file. path = [cwd] -group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_MMCSD'], CPPPATH = path) +group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SDIO'], CPPPATH = path) Return('group')