1Import('rtconfig')
2from building import *
3
4cwd = GetCurrentDir()
5src = []
6path = [cwd + '/inc']
7libs = ['']
8libpath = [cwd + '/libs']
9
10if rtconfig.PLATFORM in ['gcc']:
11    libs += ['libsmartconfig_armcm4_gcc']
12elif rtconfig.PLATFORM in ['iccarm']:
13    libs += ['libsmartconfig_armcm4_iar']
14
15group = DefineGroup('Libraries', src, depend = ['RT_USING_SMARTCONFIG_LIB'], CPPPATH = path, LIBS = libs, LIBPATH = libpath)
16
17Return('group')
18
19