summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2024-05-16 09:15:12 +0100
committerKshitij Sisodia <kshitij.sisodia@arm.com>2024-05-16 13:54:41 +0100
commit72377a431847ea2037603e9dda88d0b6b39364ce (patch)
treefaeb279f70c62a53ba0ea0e19a8ab37cae3f47bf /source
parent755bcc5f78df8ca179990cc1490ce7167b032e23 (diff)
downloadml-embedded-evaluation-kit-72377a431847ea2037603e9dda88d0b6b39364ce.tar.gz
MLECO-4937: Adding top level MlekModule.cmake
For projects wrapping ml-embedded-eval-kit, this helper module file makes it easier to import some top level variables and to call into functions exposed by utility scripts as part of their env setup. Change-Id: I1cf8d2513776d653590871dc791c68349a38a884 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'source')
-rw-r--r--source/hal/source/components/stdout/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/hal/source/components/stdout/CMakeLists.txt b/source/hal/source/components/stdout/CMakeLists.txt
index 9e70eab..55c0624 100644
--- a/source/hal/source/components/stdout/CMakeLists.txt
+++ b/source/hal/source/components/stdout/CMakeLists.txt
@@ -46,8 +46,8 @@ if (STDOUT_RETARGET)
# Check prerequisites
## Core platform directory is required to add the UART library project.
- if (NOT DEFINED CORE_PLATFORM_DIR)
- message(FATAL_ERROR "CORE_PLATFORM_DIR undefined")
+ if (NOT DEFINED MLEK_CORE_PLATFORM_DIR)
+ message(FATAL_ERROR "MLEK_CORE_PLATFORM_DIR undefined")
endif()
## UART0_BASE is the base address for UART configuration. The platform
@@ -57,7 +57,7 @@ if (STDOUT_RETARGET)
endif()
## Platform component: UART
- add_subdirectory(${CORE_PLATFORM_DIR}/drivers/uart ${CMAKE_BINARY_DIR}/uart)
+ add_subdirectory(${MLEK_CORE_PLATFORM_DIR}/drivers/uart ${CMAKE_BINARY_DIR}/uart)
## Component sources - public
target_sources(${STDOUT_COMPONENT_CMSDK}