diff --git a/bsp/essemi/es8p508x/applications/SConscript b/bsp/essemi/es8p508x/applications/SConscript index e0c84e8f1426ab2abb2c870cea377371a7c752f3..51b0290a69eba0e18fb9f54c47b3f5d89227833f 100644 --- a/bsp/essemi/es8p508x/applications/SConscript +++ b/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')