diff options
author | Per Åstrand <per.astrand@arm.com> | 2021-01-28 11:58:38 +0100 |
---|---|---|
committer | Per Åstrand <per.astrand@arm.com> | 2021-02-03 13:55:13 +0100 |
commit | 3c60f14d2d5074aa25df00e85760e105e3d620bf (patch) | |
tree | 2bcede2e020a0374de323cdc374e99d3041c1b8b /rtos/CMakeLists.txt | |
parent | 2cda7fb4fb07a64891767e27eb07a13073f6db2b (diff) | |
download | ethos-u-core-software-3c60f14d2d5074aa25df00e85760e105e3d620bf.tar.gz |
Remove ethosu_core_rtos
Move away from building generic rtos INTERFACE library in favour of
using the explict rtos targets for the applications that are using it.
Change-Id: I006d7bd302e7b33fa799d32686475e73d4db3182
Diffstat (limited to 'rtos/CMakeLists.txt')
-rw-r--r-- | rtos/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rtos/CMakeLists.txt b/rtos/CMakeLists.txt index 7c15d9e..149779e 100644 --- a/rtos/CMakeLists.txt +++ b/rtos/CMakeLists.txt @@ -16,11 +16,8 @@ # limitations under the License. # -add_library(ethosu_core_rtos INTERFACE) - -# Include FreeRTOS kernel & link with ethosu_rtos target -if(CORE_SOFTWARE_RTOS_LOWER STREQUAL "freertos") +# Include FreeRTOS kernel +if(CORE_SOFTWARE_RTOS_LOWER STREQUAL "freertos" OR CORE_SOFTWARE_RTOS_LOWER STREQUAL "all") set(FREERTOS_KERNEL_PATH "${CMAKE_CURRENT_SOURCE_DIR}/freertos/freertos_kernel" CACHE PATH "Path to FreeRTOS kernel.") add_subdirectory(freertos_config) - target_link_libraries(ethosu_core_rtos INTERFACE freertos_kernel) endif() |