rp2/Makefile: Use cmake for "make submodules" task when needed.
Because the submodule list can be updated by cmake files. Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
committed by
Damien George
parent
21b3a396de
commit
7d9cc69645
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user