Browse Source

update sdio/SConscript file

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316
luohui2320@gmail.com 13 years ago
parent
commit
c53d3be4e1
1 changed files with 4 additions and 3 deletions
  1. 4 3
      components/drivers/sdio/SConscript

+ 4 - 3
components/drivers/sdio/SConscript

@@ -1,6 +1,8 @@
 Import('RTT_ROOT')
 from building import *
 
+cwd     = GetCurrentDir()
+
 src = Split("""
 block_dev.c
 mmcsd_core.c
@@ -8,9 +10,8 @@ sd.c
 """)
 
 # The set of source files associated with this SConscript file.
-path = [RTT_ROOT + '/components/mmcsd']
-
+path = [cwd]
 
-group = DefineGroup('MMCSD', src, depend = ['RT_USING_MMCSD'], CPPPATH = path)
+group = DefineGroup('Drivers', src, depend = ['RT_USING_MMCSD'], CPPPATH = path)
 
 Return('group')