summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common_except_gcc/SConscript
blob: bda0d5610f3a9e660a61635400a455b4bb8f6e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from building import *

Import('rtconfig')

if rtconfig.PLATFORM == 'iar' or rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
    src   = []
    cwd   = GetCurrentDir()
    CPPPATH = [cwd]
    group = []
    src += Glob('*.c')

    group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH)
    Return('group')