This is an automated email from the ASF dual-hosted git repository.

simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b17e4488d66 openamp: fix CMake dcache option
b17e4488d66 is described below

commit b17e4488d665835a42b602ca6784edecd79ae129
Author: yaojiaqi <[email protected]>
AuthorDate: Sat May 9 13:16:49 2026 +0800

    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 <[email protected]>
---
 openamp/open-amp.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openamp/open-amp.cmake b/openamp/open-amp.cmake
index 668d854a81e..8b14484e03e 100644
--- a/openamp/open-amp.cmake
+++ b/openamp/open-amp.cmake
@@ -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)

Reply via email to