From c53d3be4e1c77badd4296bada694c657b0ad0757 Mon Sep 17 00:00:00 2001 From: "luohui2320@gmail.com" Date: Mon, 9 Jan 2012 16:32:57 +0000 Subject: [PATCH] update sdio/SConscript file git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/sdio/SConscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/drivers/sdio/SConscript b/components/drivers/sdio/SConscript index 13293e271..55aac473e 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')