4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-04 20:34:33 +08:00
heyuanjie87 49b6614763
[libcpu]添加对riscv vector的支持 (#9531)
[libcpu]添加对riscv vector的支持
2024-10-16 14:10:09 +08:00

14 lines
334 B
Python

# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
CPPPATH = [cwd]
if GetDepend('ARCH_RISCV_VECTOR'):
CPPPATH += [cwd + '/../../vector/rvv-1.0']
group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH)
Return('group')