diff options
Diffstat (limited to 'libcpu/SConscript')
| -rw-r--r-- | libcpu/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript index 9b5d30e046..a1609d5fd3 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -15,6 +15,9 @@ if rtconfig.PLATFORM == 'gcc': if rtconfig.PLATFORM == 'iar': src = Glob(path + '/*.c') + Glob(path + '/*_iar.S') + Glob(comm + '/*.c') +if rtconfig.PLATFORM == 'cl': + src = Glob(path + '/*.c') + CPPPATH = [RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/' + rtconfig.CPU, RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/common'] group = DefineGroup(rtconfig.CPU.upper(), src, depend = [''], CPPPATH = CPPPATH) |
