Browse Source

Update SConscript

Bernard Xiong 6 years ago
parent
commit
0255f25174
1 changed files with 2 additions and 4 deletions
  1. 2 4
      bsp/gd32e230k-start/applications/SConscript

+ 2 - 4
bsp/gd32e230k-start/applications/SConscript

@@ -1,10 +1,8 @@
-Import('RTT_ROOT')
-Import('rtconfig')
 from building import *
 
-cwd     = os.path.join(str(Dir('#')), 'applications')
+cwd = GetCurrentDir()
 src	= Glob('*.c')
-CPPPATH = [cwd, str(Dir('#'))]
+CPPPATH = [cwd]
 
 group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)