summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorGergely Nagy <algernon@users.noreply.github.com>2016-06-14 17:26:42 +0200
committerJack Humbert <jack.humb@gmail.com>2016-06-14 11:26:42 -0400
commit4815b97addec461d6b142d008170bcb2a51fe2f0 (patch)
tree65b79a285e5c5681e984c070433e79b9f08004f7 /quantum
parentfad5a571567c11c37e269914bc05e5fdf38ba278 (diff)
Makefile: Add QMK_VERSION & co to OPT_DEFS (#408)
This adds the keyboard and keymap built, along with the QMK firmware's git hash (or a timestamp), to OPT_DEFS. That, in turn, allows keymaps to make use of these information, and do whatever they want with it. For example, one could print them on `LEADER v` like this: ```c SEQ_ONE_KEY (KC_V) { SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); } ``` This addresses #366. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'quantum')
0 files changed, 0 insertions, 0 deletions