diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -534,6 +534,8 @@ endef | |||
| 534 | %: | 534 | %: |
| 535 | # Check if we have the CMP tool installed | 535 | # Check if we have the CMP tool installed |
| 536 | cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; | 536 | cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; |
| 537 | # Ensure that python3 is installed. This check can be removed after python is used in more places. | ||
| 538 | if ! python3 --version 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; fi | ||
| 537 | # Check if the submodules are dirty, and display a warning if they are | 539 | # Check if the submodules are dirty, and display a warning if they are |
| 538 | ifndef SKIP_GIT | 540 | ifndef SKIP_GIT |
| 539 | if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 1 --init lib/chibios; fi | 541 | if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 1 --init lib/chibios; fi |
