mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 17:40:22 +00:00
[libc] support external third pary libc software package (#7425)
This commit is contained in:
committed by
GitHub
parent
74719aafc8
commit
d580042145
@@ -5,10 +5,10 @@ Import('rtconfig')
|
||||
|
||||
group = []
|
||||
|
||||
libc_name, libc_version = GetGCCLibcNameVersion(rtconfig)
|
||||
newlib_version = GetNewLibVersion(rtconfig)
|
||||
|
||||
if libc_name == 'newlib':
|
||||
print('Newlib version: ' + libc_version)
|
||||
if newlib_version and not GetDepend('RT_USING_EXTERNAL_LIBC'):
|
||||
print('Newlib version: ' + newlib_version)
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
|
||||
Reference in New Issue
Block a user