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) | |
| download | qmk_firmware-99500243e10c12c0a5005da49aa1986947b27153.tar.gz qmk_firmware-99500243e10c12c0a5005da49aa1986947b27153.zip | |
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 | |||
| 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 |
