diff options
Diffstat (limited to 'libcpu/risc-v/common/hwcache/SConscript')
| -rw-r--r-- | libcpu/risc-v/common/hwcache/SConscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libcpu/risc-v/common/hwcache/SConscript b/libcpu/risc-v/common/hwcache/SConscript new file mode 100644 index 0000000000..d7b5123ca5 --- /dev/null +++ b/libcpu/risc-v/common/hwcache/SConscript @@ -0,0 +1,17 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_HWCACHE']): + Return('group') + +src = [] +cwd = GetCurrentDir() +CPPPATH = [cwd] + +if GetDepend(['RT_CACHE_SIFIVE_CCACHE']): + src += ['hwcache-sifive_ccache.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
