Browse Source

Update SConscript

Bernard Xiong 4 năm trước cách đây
mục cha
commit
821229f896
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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)