소스 검색

Update SConscript

Bernard Xiong 5 년 전
부모
커밋
4064a4c7bf
1개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 5
      bsp/essemi/es8p508x/applications/SConscript

+ 3 - 5
bsp/essemi/es8p508x/applications/SConscript

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