Browse Source

Update SConscript

Bernard Xiong 4 years ago
parent
commit
821229f896
1 changed files with 3 additions and 3 deletions
  1. 3 3
      bsp/gd32103c-eval/applications/SConscript

+ 3 - 3
bsp/gd32103c-eval/applications/SConscript

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