d540cf8877
Currently OpenAMP is unconditionally compiled with the options to use the vrings cache operations disabled. Add a new CONFIG_OPENAMP_WITH_DCACHE Kconfig option to enable the support for d-cache operations in OpenAMP when needed. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
13 lines
322 B
CMake
13 lines
322 B
CMake
#
|
|
# Copyright (c) 2020, STMicroelectronics
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_OPENAMP_RSC_TABLE .)
|
|
zephyr_sources_ifdef(CONFIG_OPENAMP_RSC_TABLE resource_table.c)
|
|
|
|
zephyr_compile_definitions_ifdef(CONFIG_OPENAMP_WITH_DCACHE
|
|
WITH_DCACHE_VRINGS
|
|
WITH_DCACHE_BUFFERS)
|