from building import * Import('rtconfig') src = Glob('*.c') group = [] CPPDEFINES = ['RT_USING_ARM_LIBC', 'RT_USING_LIBC'] if rtconfig.PLATFORM in ['armcc', 'armclang']: group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES) Return('group')