Ver código fonte

Update SConscript

Bernard Xiong 5 anos atrás
pai
commit
4064a4c7bf
1 arquivos alterados com 3 adições e 5 exclusões
  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')