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')