diff options
| author | Shell <[email protected]> | 2024-09-12 11:14:12 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-09-13 17:35:00 -0400 |
| commit | 57d002b25e26a5df950b087f0ea2dc7b6feeb7e3 (patch) | |
| tree | a507e64c368e22d378821b3a0c39993d08b79756 /libcpu/risc-v/common64/SConscript | |
| parent | 2d026a316aa39b13897959d3fc851e39aaa0d054 (diff) | |
feat: remove redundant codes under virt64, c906
Changes:
- create new folder name `common64` and save all common codes of rv64
inside
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/risc-v/common64/SConscript')
| -rw-r--r-- | libcpu/risc-v/common64/SConscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcpu/risc-v/common64/SConscript b/libcpu/risc-v/common64/SConscript new file mode 100644 index 0000000000..08acc79944 --- /dev/null +++ b/libcpu/risc-v/common64/SConscript @@ -0,0 +1,12 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S') +CPPPATH = [cwd] + +if not GetDepend('ARCH_USING_ASID'): + SrcRemove(src, ['asid.c']) + +group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
