From b06bba921780ad91644cc2cd061b92c670a158e6 Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Wed, 2 Nov 2022 14:11:32 +0000 Subject: 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 --- source/hal/source/components/npu/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source') 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_include_directories(${ETHOS_U_NPU_COMPONENT} 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 -- cgit v1.2.1