summaryrefslogtreecommitdiff
path: root/components/libc/compilers/armlibc/SConscript
blob: ba0d48ae05d90a563f052489a68998b25e3be687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from building import *
Import('rtconfig')

src   = Glob('*.c')
group = []

CPPDEFINES = ['RT_USING_ARM_LIBC', 'RT_USING_LIBC', '__STDC_LIMIT_MACROS']

if rtconfig.PLATFORM in ['armcc', 'armclang']:
    group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)

Return('group')