diff options
Diffstat (limited to 'py')
| -rw-r--r-- | py/mkrules.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/py/mkrules.cmake b/py/mkrules.cmake index 261e15369..d0dc01962 100644 --- a/py/mkrules.cmake +++ b/py/mkrules.cmake @@ -178,3 +178,10 @@ if(MICROPY_FROZEN_MANIFEST) VERBATIM ) endif() + +# Update submodules +if(ECHO_SUBMODULES) + # If cmake is run with GIT_SUBMODULES defined on command line, process the port / board + # settings then print the final GIT_SUBMODULES variable as a fatal error and exit. + message(FATAL_ERROR "GIT_SUBMODULES=${GIT_SUBMODULES}") +endif() |
