mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-25 01:57:22 +08:00
873fd76b2f
This option is for RT-Thread Nano version. If select this option, it will not compile components/libc folder and only use tool chain internal libc. Normally, the tool chain internal is only cover ISO standard (e.g. armcc), but some tool chains' internal libc will cover more than ISO standard (e.g. newlib).
17 lines
379 B
Python
17 lines
379 B
Python
# RT-Thread building script for bridge
|
|
|
|
import os
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
objs = []
|
|
list = os.listdir(cwd)
|
|
|
|
if not GetDepend('RT_USING_INTERNAL_LIBC_ONLY'):
|
|
for d in list:
|
|
path = os.path.join(cwd, d)
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
|
|
|
Return('objs')
|