Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libcpu/risc-v/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ if rtconfig.CPU in common64_arch :
else :
group += SConscript(os.path.join('common', 'SConscript'))

group += SConscript(os.path.join('vector', 'SConscript'))

# cpu porting code files
if 'VENDOR' in vars(rtconfig) and rtconfig.VENDOR != '':
group = group + SConscript(os.path.join(rtconfig.VENDOR, rtconfig.CPU, 'SConscript'))
Expand Down
3 changes: 0 additions & 3 deletions libcpu/risc-v/t-head/c908/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ 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')
12 changes: 12 additions & 0 deletions libcpu/risc-v/vector/SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# RT-Thread building script for component

from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = []

CPPPATH += [cwd + '/rvv-1.0']

group = DefineGroup('libcpu', src, depend = ['ARCH_RISCV_VECTOR'], CPPPATH = CPPPATH)

Return('group')
3 changes: 0 additions & 3 deletions libcpu/risc-v/virt64/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
CPPPATH = [cwd]

if not GetDepend('ARCH_RISCV_VECTOR'):
SrcRemove(src, ['vector_gcc.S'])

group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH)

Return('group')
111 changes: 0 additions & 111 deletions libcpu/risc-v/virt64/rvv_context.h

This file was deleted.

51 changes: 0 additions & 51 deletions libcpu/risc-v/virt64/vector_encoding.h

This file was deleted.

45 changes: 0 additions & 45 deletions libcpu/risc-v/virt64/vector_gcc.S

This file was deleted.

Loading