summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-11-02 14:11:32 +0000
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-11-02 14:14:10 +0000
commitb06bba921780ad91644cc2cd061b92c670a158e6 (patch)
treea558713d6ed6a86196dcb48445de79d332ba61b5 /source
parent7fbce7411ba7108d98c2de8ce3ac86ea08d3c50d (diff)
downloadml-embedded-evaluation-kit-b06bba921780ad91644cc2cd061b92c670a158e6.tar.gz
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>
Diffstat (limited to 'source')
-rw-r--r--source/hal/source/components/npu/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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