aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile4
-rw-r--r--keyboards/ergodox/keymaps/algernon/keymap.c1
-rw-r--r--keyboards/ergodox/keymaps/default/keymap.c1
-rw-r--r--keyboards/ergodox/keymaps/josh/keymap.c1
-rw-r--r--keyboards/planck/keymaps/cbbrowne/keymap.c1
-rw-r--r--keyboards/planck/keymaps/experimental/keymap.c1
7 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 849143352..8c85d6ffa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ build/
17.build/ 17.build/
18*.bak 18*.bak
19.vagrant/ 19.vagrant/
20quantum/version.h
20.idea/ 21.idea/
21CMakeLists.txt 22CMakeLists.txt
22.DS_STORE 23.DS_STORE
@@ -26,4 +27,4 @@ CMakeLists.txt
26.project 27.project
27.settings/ 28.settings/
28.idea 29.idea
29.browse.VC.db* \ No newline at end of file 30.browse.VC.db*
diff --git a/Makefile b/Makefile
index 60c7a6ef6..053c8532a 100644
--- a/Makefile
+++ b/Makefile
@@ -271,4 +271,6 @@ include $(TMK_PATH)/rules.mk
271GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always --tags 2>/dev/null || date +"%Y-%m-%d-%H:%M:%S") 271GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always --tags 2>/dev/null || date +"%Y-%m-%d-%H:%M:%S")
272BUILD_DATE := $(shell date +"%Y-%m-%d-%H:%M:%S") 272BUILD_DATE := $(shell date +"%Y-%m-%d-%H:%M:%S")
273OPT_DEFS += -DQMK_KEYBOARD=\"$(KEYBOARD)\" -DQMK_KEYMAP=\"$(KEYMAP)\" 273OPT_DEFS += -DQMK_KEYBOARD=\"$(KEYBOARD)\" -DQMK_KEYMAP=\"$(KEYMAP)\"
274OPT_DEFS += -DQMK_VERSION=\"$(GIT_VERSION)\" -DQMK_BUILDDATE=\"$(BUILD_DATE)\" 274
275$(shell echo '#define QMK_VERSION "$(GIT_VERSION)"' > $(QUANTUM_PATH)/version.h)
276$(shell echo '#define QMK_BUILDDATE "$(BUILD_DATE)"' >> $(QUANTUM_PATH)/version.h) \ No newline at end of file
diff --git a/keyboards/ergodox/keymaps/algernon/keymap.c b/keyboards/ergodox/keymaps/algernon/keymap.c
index 6a14ef467..c4de53da2 100644
--- a/keyboards/ergodox/keymaps/algernon/keymap.c
+++ b/keyboards/ergodox/keymaps/algernon/keymap.c
@@ -12,6 +12,7 @@
12#include "keymap_plover.h" 12#include "keymap_plover.h"
13#include "eeconfig.h" 13#include "eeconfig.h"
14#include "wait.h" 14#include "wait.h"
15#include "version.h"
15 16
16/* Layers */ 17/* Layers */
17 18
diff --git a/keyboards/ergodox/keymaps/default/keymap.c b/keyboards/ergodox/keymaps/default/keymap.c
index f1a83f4e7..1b80cb3a2 100644
--- a/keyboards/ergodox/keymaps/default/keymap.c
+++ b/keyboards/ergodox/keymaps/default/keymap.c
@@ -1,6 +1,7 @@
1#include "ergodox.h" 1#include "ergodox.h"
2#include "debug.h" 2#include "debug.h"
3#include "action_layer.h" 3#include "action_layer.h"
4#include "version.h"
4 5
5#define BASE 0 // default layer 6#define BASE 0 // default layer
6#define SYMB 1 // symbols 7#define SYMB 1 // symbols
diff --git a/keyboards/ergodox/keymaps/josh/keymap.c b/keyboards/ergodox/keymaps/josh/keymap.c
index 488b21427..b5463873a 100644
--- a/keyboards/ergodox/keymaps/josh/keymap.c
+++ b/keyboards/ergodox/keymaps/josh/keymap.c
@@ -1,6 +1,7 @@
1#include "ergodox.h" 1#include "ergodox.h"
2#include "debug.h" 2#include "debug.h"
3#include "action_layer.h" 3#include "action_layer.h"
4#include "version.h"
4 5
5#define BASE 0 // default layer 6#define BASE 0 // default layer
6#define SYMB 1 // symbols 7#define SYMB 1 // symbols
diff --git a/keyboards/planck/keymaps/cbbrowne/keymap.c b/keyboards/planck/keymaps/cbbrowne/keymap.c
index 14a5be170..70eaefb7b 100644
--- a/keyboards/planck/keymaps/cbbrowne/keymap.c
+++ b/keyboards/planck/keymaps/cbbrowne/keymap.c
@@ -4,6 +4,7 @@
4#endif 4#endif
5#include "config.h" 5#include "config.h"
6#include "quantum.h" 6#include "quantum.h"
7#include "version.h"
7 8
8/* Each layer is given a name to aid in readability, which is then 9/* Each layer is given a name to aid in readability, which is then
9 used in the keymap matrix below. The underscores do not denote 10 used in the keymap matrix below. The underscores do not denote
diff --git a/keyboards/planck/keymaps/experimental/keymap.c b/keyboards/planck/keymaps/experimental/keymap.c
index d9303fcae..2c1270094 100644
--- a/keyboards/planck/keymaps/experimental/keymap.c
+++ b/keyboards/planck/keymaps/experimental/keymap.c
@@ -8,6 +8,7 @@
8#endif 8#endif
9 9
10#include "eeconfig.h" 10#include "eeconfig.h"
11#include "version.h"
11 12
12extern keymap_config_t keymap_config; 13extern keymap_config_t keymap_config;
13 14