mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 17:12:01 +08:00
Some ARCH not has std cache ops, such as RISC-V Signed-off-by: GuEe-GUI <2991707448@qq.com>
16 lines
266 B
Python
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')
|