summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Didron <fdidron@users.noreply.github.com>2019-05-20 15:53:11 +0900
committerGitHub <noreply@github.com>2019-05-20 15:53:11 +0900
commitb58ea9ad0fb1ab7ea3dec14406105df089ecc923 (patch)
tree750be8ef9c0ce2534a3eef02607b71f41f2a12dc /Makefile
parent5d9a4c4414b557ab6fb0d0ded35debeaf2c79a55 (diff)
parent09e6b949274fcb83de23792a02033cdeabec4d74 (diff)
Merge branch 'master' into fix/split_common_i2c_backlight
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bf3abbe528..a6c3ee35b7 100644
--- a/Makefile
+++ b/Makefile
@@ -534,6 +534,8 @@ endef
%:
# Check if we have the CMP tool installed
cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi;
+ # Ensure that python3 is installed. This check can be removed after python is used in more places.
+ if ! python3 --version 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; fi
# Check if the submodules are dirty, and display a warning if they are
ifndef SKIP_GIT
if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 1 --init lib/chibios; fi