summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-09 16:32:57 +0000
committer[email protected] <[email protected]>2012-01-09 16:32:57 +0000
commitc53d3be4e1c77badd4296bada694c657b0ad0757 (patch)
tree69e9d17e2fbd285305a168ac441eeb34705b56fb
parentc44d191564d3bea607d32fac921e292579fd97de (diff)
update sdio/SConscript file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/drivers/sdio/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/drivers/sdio/SConscript b/components/drivers/sdio/SConscript
index 13293e271a..55aac473ed 100644
--- a/components/drivers/sdio/SConscript
+++ b/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')