diff options
| author | Meco Man <[email protected]> | 2021-04-18 00:51:07 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-04-18 00:51:07 +0800 |
| commit | 9d401ea8b06518a49b59b6d246325afa5902e3f4 (patch) | |
| tree | 27b26edc705bad8c61938f92942eaf32204f1bb8 /components/libc/compilers/common_except_gcc/SConscript | |
| parent | 349a85e83f2a9db7786335674bb65d6d1d7f1dab (diff) | |
重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar
Diffstat (limited to 'components/libc/compilers/common_except_gcc/SConscript')
| -rw-r--r-- | components/libc/compilers/common_except_gcc/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/compilers/common_except_gcc/SConscript b/components/libc/compilers/common_except_gcc/SConscript new file mode 100644 index 0000000000..bda0d5610f --- /dev/null +++ b/components/libc/compilers/common_except_gcc/SConscript @@ -0,0 +1,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') |
