Parcourir la source

Update SConscript

Bernard Xiong il y a 5 ans
Parent
commit
4064a4c7bf
1 fichiers modifiés avec 3 ajouts et 5 suppressions
  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')