diff options
| author | Meco Man <[email protected]> | 2021-09-27 14:43:31 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-09-27 16:40:12 -0400 |
| commit | 8b17d53da73289a368a47f798a9275aea3e50d86 (patch) | |
| tree | 083852cde19d66f58c5a6857d4ab2ca4fc37f642 /components/libc/compilers/gcc/partial/mips/SConscript | |
| parent | 4c1c946ba3956861e5aa818f9df3c0938b311eba (diff) | |
[libc]新建gcc文件夹,将newlib和partical文件夹并入
Diffstat (limited to 'components/libc/compilers/gcc/partial/mips/SConscript')
| -rw-r--r-- | components/libc/compilers/gcc/partial/mips/SConscript | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/components/libc/compilers/gcc/partial/mips/SConscript b/components/libc/compilers/gcc/partial/mips/SConscript new file mode 100644 index 0000000000..7651233d46 --- /dev/null +++ b/components/libc/compilers/gcc/partial/mips/SConscript @@ -0,0 +1,20 @@ +from shutil import copy +from building import * + +Import('rtconfig') + +src = [] +cwd = GetCurrentDir() +CPPPATH = [cwd] +group = [] + +if rtconfig.PLATFORM == 'gcc' and ('mips' in rtconfig.PREFIX): # identify mips gcc tool chain + try: + # There is no 'sys/select.h' in tthe mips gcc toolchain; it will be copied from 'nogcc/sys/select.h' + copy("../../../common/nogcc/sys/select.h", "./sys/select.h") + except: + pass + + group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH) + +Return('group') |
