[libc] support external third pary libc software package (#7425)

This commit is contained in:
Man, Jianting (Meco)
2023-04-30 12:19:57 +08:00
committed by GitHub
parent 74719aafc8
commit d580042145
5 changed files with 13 additions and 31 deletions
+3 -3
View File
@@ -5,10 +5,10 @@ Import('rtconfig')
group = []
libc_name, libc_version = GetGCCLibcNameVersion(rtconfig)
musllibc_version = GetMuslVersion(rtconfig)
if libc_name == 'musl':
print('Musl version: ' + libc_version)
if musllibc_version:
print('Musl version: ' + musllibc_version)
cwd = GetCurrentDir()
src = Glob('*.c')