diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2019-05-06 10:56:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 10:56:34 -0700 |
commit | 99500243e10c12c0a5005da49aa1986947b27153 (patch) | |
tree | 7b33f10fcc52f6578f84830c823e518557168ccf /Makefile | |
parent | cb1935aaff0fed118954996fc7afb722b6ed21be (diff) |
Make python a required build dependency (#5784)
* Make python a required build dependency
* Add missing color
* fixup sabayon linux per @BlitzKraft
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |