From e9cdc6374dc730dc61d2a8a81beabe563ad7fe88 Mon Sep 17 00:00:00 2001 From: Yulia Garbovich Date: Tue, 23 Nov 2021 20:00:04 +0200 Subject: Add mpu driver and remove interface library from drivers Add mpu driver for upstreaming After removing of interface library,targets and applications will list explicitly which libraries to link Change-Id: Icfa449a2981093161f283e45b4d52ca6199371b8 --- targets/corstone-300/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'targets/corstone-300/CMakeLists.txt') diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt index d2e3322..5dc3804 100644 --- a/targets/corstone-300/CMakeLists.txt +++ b/targets/corstone-300/CMakeLists.txt @@ -121,12 +121,14 @@ ethosu_target_link_options(ethosu_target_link INTERFACE # Add drivers target_sources(ethosu_target_startup INTERFACE retarget.c - uart.c - target.cpp - mpu.cpp) + target.cpp) target_link_libraries(ethosu_target_startup INTERFACE - $<$:ethosu_core_driver;timing_adapter>) + $<$:ethosu_core_driver> + mpu + timing_adapter + ethosu_mhu_dummy + ethosu_uart_cmsdk_apb) if (TARGET ethosu_core_driver) target_compile_definitions(ethosu_core_driver PUBLIC -- cgit v1.2.1