[libc][picolibc] improve gcc picolibc support

This commit is contained in:
Xiang.Lin
2023-11-08 15:09:09 +08:00
committed by GitHub
parent 063c8f7bec
commit da55491608
5 changed files with 237 additions and 23 deletions

View File

@@ -1,10 +1,16 @@
import os
from building import *
from llvm_arm import *
Import('rtconfig')
group = []
if rtconfig.PLATFORM == 'gcc':
from gcc import *
elif rtconfig.PLATFORM == 'llvm-arm':
from llvm_arm import *
else:
Return('group')
picolibc_version = GetPicoLibcVersion(rtconfig)
if picolibc_version and not GetDepend('RT_USING_EXTERNAL_LIBC'):