diff options
author | tmk <nobody@nowhere> | 2013-09-11 14:01:47 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-09-11 14:01:47 +0900 |
commit | 259c4a040af658552d7a003655572c33d8fcef83 (patch) | |
tree | 63ae148e3e6c0be4cd0ef35bf9db0162abae3af4 /common.mk | |
parent | 8bc96ac57174692b7604ddc65e22dea6ddb1824b (diff) | |
download | qmk_firmware-259c4a040af658552d7a003655572c33d8fcef83.tar.gz |
Add build option KEYMAP_SECTION for keymap editor
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -68,6 +68,10 @@ ifdef BACKLIGHT_ENABLE OPT_DEFS += -DBACKLIGHT_ENABLE endif +ifdef KEYMAP_SECTION_ENABLE + OPT_DEFS += -DKEYMAP_SECTION + EXTRALDFLAGS = -Wl,-L$(TOP_DIR),-Tldscript_keymap_avr5.x +endif # Version string OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) |