summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2011-07-01 05:36:42 +0000
committerbernard.xiong <[email protected]>2011-07-01 05:36:42 +0000
commitbca9c66e0dd4ad9a344292e88f5dbf1a3a24a26a (patch)
treeea747b64b20ff54383e99a7417fe311715ce43d3
parent3bec3d7caf119fd272f472cbcb42e1f2fa38c67e (diff)
use GetCurrentDir() as include path.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1563 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/finsh/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/SConscript b/components/finsh/SConscript
index 8eeb67df38..ccd1c35ee6 100644
--- a/components/finsh/SConscript
+++ b/components/finsh/SConscript
@@ -3,7 +3,7 @@ Import('rtconfig')
from building import *
src = Glob('*.c')
-CPPPATH = [RTT_ROOT + '/components/finsh']
+CPPPATH = [GetCurrentDir()]
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
else: