Skip to content

Commit b17e448

Browse files
Jiaqi-YP7simbit18
authored andcommitted
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>
1 parent 382bb5e commit b17e448

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openamp/open-amp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/open-amp)
8787
endif()
8888

8989
if(CONFIG_OPENAMP_CACHE)
90-
set(WITH_DCACHE_VRINGS ON)
90+
set(WITH_DCACHE ON)
9191
endif()
9292

9393
if(CONFIG_OPENAMP_DEBUG)

0 commit comments

Comments
 (0)