diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
| @@ -21,8 +21,10 @@ override SILENT := false | |||
| 21 | 21 | ||
| 22 | QMK_VERSION := $(shell git describe --abbrev=0 --tags 2>/dev/null) | 22 | QMK_VERSION := $(shell git describe --abbrev=0 --tags 2>/dev/null) |
| 23 | ifneq ($(QMK_VERSION),) | 23 | ifneq ($(QMK_VERSION),) |
| 24 | ifneq ($(SILENT),) | ||
| 24 | $(info QMK Firmware $(QMK_VERSION)) | 25 | $(info QMK Firmware $(QMK_VERSION)) |
| 25 | endif | 26 | endif |
| 27 | endif | ||
| 26 | 28 | ||
| 27 | ON_ERROR := error_occurred=1 | 29 | ON_ERROR := error_occurred=1 |
| 28 | 30 | ||
| @@ -114,6 +116,14 @@ list-keyboards: | |||
| 114 | echo $(KEYBOARDS) | 116 | echo $(KEYBOARDS) |
| 115 | exit 0 | 117 | exit 0 |
| 116 | 118 | ||
| 119 | define PRINT_KEYBOARD | ||
| 120 | $(info $(PRINTING_KEYBOARD)) | ||
| 121 | endef | ||
| 122 | |||
| 123 | generate-keyboards-file: | ||
| 124 | $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD))) | ||
| 125 | exit 0 | ||
| 126 | |||
| 117 | #Compatibility with the old make variables, anything you specify directly on the command line | 127 | #Compatibility with the old make variables, anything you specify directly on the command line |
| 118 | # always overrides the detected folders | 128 | # always overrides the detected folders |
| 119 | ifdef keyboard | 129 | ifdef keyboard |
