diff options
| author | GUI <[email protected]> | 2025-12-13 16:32:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-13 16:32:25 +0800 |
| commit | d8709ba9fb65bb444f0494c243b9a4dcc08f337c (patch) | |
| tree | da50ba4e60918532a08d46497a4138dbe79c2348 /components/drivers/hwcache/SConscript | |
| parent | af0e513bef194b591b6e40e0b39fad1a3009d858 (diff) | |
[dm][hwcache] support hwcache (#11049)
Some ARCH not has std cache ops, such as RISC-V
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/hwcache/SConscript')
| -rw-r--r-- | components/drivers/hwcache/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/hwcache/SConscript b/components/drivers/hwcache/SConscript new file mode 100644 index 0000000000..6d16ba02e6 --- /dev/null +++ b/components/drivers/hwcache/SConscript @@ -0,0 +1,15 @@ +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') |
