فهرست منبع

Update SConscript

Bernard Xiong 6 سال پیش
والد
کامیت
0255f25174
1فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  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)