소스 검색

Update SConscript

Bernard Xiong 4 년 전
부모
커밋
821229f896
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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)