mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-13 20:53:58 +08:00
ecf2d82159
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
18 lines
377 B
Python
18 lines
377 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include']
|
|
src = Split('''
|
|
cputime.c
|
|
''')
|
|
|
|
if GetDepend('RT_USING_CPUTIME_CORTEXM'):
|
|
src += ['cputime_cortexm.c']
|
|
|
|
if GetDepend('RT_USING_CPUTIME_RISCV'):
|
|
src += ['cputime_riscv.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_CPUTIME'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|