MLECO-3238: Fix for cache clean/invalidation
Small fix for the issue of weakly defined "clean" and
"invalidation" functions for D-cache in use.
Change-Id: I452768ef216393834f20395a56cde6ff5f52d29a
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
diff --git a/source/hal/source/components/npu/CMakeLists.txt b/source/hal/source/components/npu/CMakeLists.txt
index 31f50ae..150e750 100644
--- a/source/hal/source/components/npu/CMakeLists.txt
+++ b/source/hal/source/components/npu/CMakeLists.txt
@@ -150,9 +150,12 @@
target_sources(${ETHOS_U_NPU_COMPONENT}
PRIVATE
ethosu_npu_init.c
- ethosu_cpu_cache.c
ethosu_profiler.c)
+target_sources(${ETHOS_U_NPU_COMPONENT}
+ PUBLIC
+ ethosu_cpu_cache.c)
+
## Add dependencies:
target_link_libraries(${ETHOS_U_NPU_COMPONENT} PUBLIC
ethosu_core_driver