Browse Source

remove the compiling of libfinsh.a library.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1932 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 13 years ago
parent
commit
2d91252fdd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/finsh/SConscript

+ 3 - 3
components/finsh/SConscript

@@ -1,14 +1,14 @@
-Import('RTT_ROOT')
 Import('rtconfig')
 from building import *
 
+cwd = GetCurrentDir()
 src	= Glob('*.c')
-CPPPATH = [GetCurrentDir()]
+CPPPATH = [cwd]
 if rtconfig.CROSS_TOOL == 'keil':
     LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
 else:
     LINKFLAGS = '' 
 
-group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS, LIBRARY = '')
+group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)
 
 Return('group')