diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -562,14 +562,16 @@ endef | |||
562 | %: | 562 | %: |
563 | # Check if we have the CMP tool installed | 563 | # Check if we have the CMP tool installed |
564 | cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; | 564 | cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; |
565 | # Ensure that python3 is installed. This check can be removed after python is used in more places. | 565 | # Ensure that bin/qmk works. This will be a failing check after the next develop merge on 2020 Aug 29. |
566 | if ! python3 --version 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; fi | 566 | if ! bin/qmk hello 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; fi |
567 | # Check if the submodules are dirty, and display a warning if they are | 567 | # Check if the submodules are dirty, and display a warning if they are |
568 | ifndef SKIP_GIT | 568 | ifndef SKIP_GIT |
569 | if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 50 --init lib/chibios; fi | 569 | if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 50 --init lib/chibios; fi |
570 | if [ ! -e lib/chibios-contrib ]; then git submodule sync lib/chibios-contrib && git submodule update --depth 50 --init lib/chibios-contrib; fi | 570 | if [ ! -e lib/chibios-contrib ]; then git submodule sync lib/chibios-contrib && git submodule update --depth 50 --init lib/chibios-contrib; fi |
571 | if [ ! -e lib/ugfx ]; then git submodule sync lib/ugfx && git submodule update --depth 50 --init lib/ugfx; fi | 571 | if [ ! -e lib/ugfx ]; then git submodule sync lib/ugfx && git submodule update --depth 50 --init lib/ugfx; fi |
572 | if [ ! -e lib/lufa ]; then git submodule sync lib/lufa && git submodule update --depth 50 --init lib/lufa; fi | 572 | if [ ! -e lib/lufa ]; then git submodule sync lib/lufa && git submodule update --depth 50 --init lib/lufa; fi |
573 | if [ ! -e lib/vusb ]; then git submodule sync lib/vusb && git submodule update --depth 50 --init lib/vusb; fi | ||
574 | if [ ! -e lib/printf ]; then git submodule sync lib/printf && git submodule update --depth 50 --init lib/printf; fi | ||
573 | git submodule status --recursive 2>/dev/null | \ | 575 | git submodule status --recursive 2>/dev/null | \ |
574 | while IFS= read -r x; do \ | 576 | while IFS= read -r x; do \ |
575 | case "$$x" in \ | 577 | case "$$x" in \ |