2013-01-08 22:40:58 +08:00
|
|
|
from building import *
|
2017-10-13 12:44:54 +08:00
|
|
|
Import('rtconfig')
|
2013-01-08 22:40:58 +08:00
|
|
|
|
2022-01-24 09:16:57 +08:00
|
|
|
src = Glob('*.c') + Glob('arch/*.c')
|
2016-05-10 09:22:01 +08:00
|
|
|
cwd = GetCurrentDir()
|
2017-10-13 12:44:54 +08:00
|
|
|
group = []
|
2016-05-10 09:22:01 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
2017-10-13 12:44:54 +08:00
|
|
|
if rtconfig.PLATFORM == 'gcc':
|
2022-01-20 20:55:31 +08:00
|
|
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_MODULE'], CPPPATH = CPPPATH)
|
2013-01-08 22:40:58 +08:00
|
|
|
|
|
|
|
Return('group')
|