mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
openamp: fix CMake dcache option
OpenAMP 2025.10.0 removed the deprecated WITH_DCACHE_VRINGS, WITH_DCACHE_BUFFERS and WITH_DCACHE_RSC_TABLE CMake options. The replacement is WITH_DCACHE, which enables VIRTIO_USE_DCACHE for vrings, buffers and resource table cache operations. Use WITH_DCACHE for CONFIG_OPENAMP_CACHE in the CMake integration so the CMake build matches the Makefile path, which already defines VIRTIO_USE_DCACHE directly. Signed-off-by: yaojiaqi <yaojiaqi@lixiang.com>
This commit is contained in:
parent
382bb5e874
commit
b17e4488d6
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/open-amp)
|
|||
endif()
|
||||
|
||||
if(CONFIG_OPENAMP_CACHE)
|
||||
set(WITH_DCACHE_VRINGS ON)
|
||||
set(WITH_DCACHE ON)
|
||||
endif()
|
||||
|
||||
if(CONFIG_OPENAMP_DEBUG)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue