Files
rt-thread/components/drivers/hwcache/SConscript
GUI d8709ba9fb [dm][hwcache] support hwcache (#11049)
Some ARCH not has std cache ops, such as RISC-V

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-13 16:32:25 +08:00

16 lines
266 B
Python

from building import *
group = []
if not GetDepend(['RT_USING_HWCACHE']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['hwcache.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')