Update SConscript

This commit is contained in:
Bernard Xiong 2019-11-21 06:56:50 +08:00 committed by GitHub
parent 383509e220
commit 4064a4c7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,9 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import * from building import *
cwd = os.path.join(str(Dir('#')), 'applications') cwd = GetCurrentDir()
src = Glob('*.c') src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))] CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH) group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group') Return('group')