summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-11-14 22:14:59 -0500
committerJack Humbert <jack.humb@gmail.com>2017-11-14 22:14:59 -0500
commitcb64a886e9c53ca165a057c9e3d0dc1022c4d323 (patch)
tree3b1c7c3e86f33a2bf981cd3754efe5ad90f47ee8 /Makefile
parentdbabfb082c71709a5bcbe6d2847ff3fe1619378a (diff)
downloadqmk_firmware-cb64a886e9c53ca165a057c9e3d0dc1022c4d323.tar.gz
qmk_firmware-cb64a886e9c53ca165a057c9e3d0dc1022c4d323.zip
update travis script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e67e2fa093..c98c0f2980 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,10 @@ override SILENT := false
QMK_VERSION := $(shell git describe --abbrev=0 --tags 2>/dev/null)
ifneq ($(QMK_VERSION),)
+ifneq ($(SILENT),)
$(info QMK Firmware $(QMK_VERSION))
endif
+endif
ON_ERROR := error_occurred=1
@@ -114,6 +116,14 @@ list-keyboards:
echo $(KEYBOARDS)
exit 0
+define PRINT_KEYBOARD
+ $(info $(PRINTING_KEYBOARD))
+endef
+
+generate-keyboards-file:
+ $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD)))
+ exit 0
+
#Compatibility with the old make variables, anything you specify directly on the command line
# always overrides the detected folders
ifdef keyboard