import RT-Thread@9217865c without bsp, libcpu and components/net

This commit is contained in:
Zihao Yu 2023-05-20 16:23:33 +08:00
commit e2376a3709
1414 changed files with 390370 additions and 0 deletions

View file

@ -0,0 +1,27 @@
import rtconfig
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
path = [cwd]
src = []
if GetDepend('RTT_POSIX_TESTCASE_STDLIB_H'):
src += Glob('./definitions/*.c')
if GetDepend('STDLIB_H_ATOI'):
src += Glob('./functions/atoi_tc.c')
if GetDepend('STDLIB_H_ATOL'):
src += Glob('./functions/atol_tc.c')
if GetDepend('STDLIB_H_QSORT'):
src += Glob('./functions/qsort_tc.c')
if GetDepend('STDLIB_H_STRTOL'):
src += Glob('./functions/strtol_tc.c')
group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_STDLIB_H'], CPPPATH = path)
Return('group')