aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorØyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>2020-10-30 21:29:40 +0100
committerTamas Ban <tamas.ban@arm.com>2020-11-02 16:01:22 +0000
commit1655ef5120e99c62782575d0a8b3707ebfc2148e (patch)
treea984b9ff1066293b7220ca783e6eb0eab1b493eb /lib
parent6d770e04debc2e207fb45de6e7079f032a16b3df (diff)
downloadtrusted-firmware-m-1655ef5120e99c62782575d0a8b3707ebfc2148e.tar.gz
Boot: Add workaround to not fetch MCUboot's submodules
CMP0097 doesn't work on 3.16 and 3.17. https://gitlab.kitware.com/cmake/cmake/-/issues/20579 Add a workaround (request non-existant submodule). This prevents fetching almost 200 MB of data, improving pristine build times. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no> Change-Id: I93d2be448a1115a0b819d753eb8d3a43b162d0d9
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/mcuboot/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ext/mcuboot/CMakeLists.txt b/lib/ext/mcuboot/CMakeLists.txt
index 822843f75..92618be08 100644
--- a/lib/ext/mcuboot/CMakeLists.txt
+++ b/lib/ext/mcuboot/CMakeLists.txt
@@ -19,7 +19,9 @@ if ("${MCUBOOT_PATH}" STREQUAL "DOWNLOAD")
GIT_TAG ${MCUBOOT_VERSION}
GIT_SHALLOW FALSE
GIT_PROGRESS TRUE
- GIT_SUBMODULES ""
+ GIT_SUBMODULES "docs" # Workaround for
+ # https://gitlab.kitware.com/cmake/cmake/-/issues/20579
+ # in cmake 3.17 and below.
)
# ToDo: set GIT_SHALLOW to 'TRUE' when MCUBOOT_VERSION will be set to a tag
# (instead of a commit hash) with the new release.