diff options
| author | Bernard Xiong <[email protected]> | 2021-09-28 13:48:39 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-28 13:48:39 +0800 |
| commit | d43a68e95e026ecc73eab7999677e46bbd4984ef (patch) | |
| tree | 484d6bbc52f7352eb4b8ccad94e4fbc9b4d54b72 /components/libc/compilers/gcc/partial/mips/SConscript | |
| parent | ae49c3f560dd4d15f4fa93f0811b6f5ced083da0 (diff) | |
| parent | c80688126a013c53334464799e28fcf2e4f4fb8c (diff) | |
Merge pull request #5105 from mysterywolf/part
[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') |
