Explorar o código

Update SConscript

Bernard Xiong %!s(int64=5) %!d(string=hai) anos
pai
achega
4064a4c7bf
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  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')