summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorConor Kennedy <conor.kennedy@arm.com>2022-09-01 14:39:37 +0100
committerConor Kennedy <conor.kennedy@arm.com>2022-09-01 14:39:37 +0100
commit6d1e521014fc1db6f587083a2d9b47a03d88af0d (patch)
tree0402eafa8e3a5e13e3488bfaa3f662b677f82eb2 /scripts
parentb21a1e0d6fe984a207e5ecb9e881962ea9affffa (diff)
downloadml-embedded-evaluation-kit-6d1e521014fc1db6f587083a2d9b47a03d88af0d.tar.gz
MLECO-3537: Fix Cmake build issue when using build-apis
* Filter ".md" entry from UC_API_LIST Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: Iec0f3fd1960b4e3f9ff1b2f730befedb0143ca30
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/cmsis-pack-gen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
index db5cfff..0e71bd1 100644
--- a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
+++ b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
@@ -47,6 +47,7 @@ endif()
add_subdirectory(${API_COMMON_PROJECT_DIR} ${CMAKE_BINARY_DIR}/common)
file(GLOB UC_API_LIST "${API_UC_PROJECT_DIR}/*")
+list(FILTER UC_API_LIST EXCLUDE REGEX ".md") # Remove .md files from UC_API_LIST
foreach(API ${UC_API_LIST})
add_subdirectory(${API} ${CMAKE_BINARY_DIR}/${API})