diff options
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 | |||
| 68 | OPT_DEFS += -DBACKLIGHT_ENABLE | 68 | OPT_DEFS += -DBACKLIGHT_ENABLE |
| 69 | endif | 69 | endif |
| 70 | 70 | ||
| 71 | ifdef KEYMAP_SECTION_ENABLE | ||
| 72 | OPT_DEFS += -DKEYMAP_SECTION | ||
| 73 | EXTRALDFLAGS = -Wl,-L$(TOP_DIR),-Tldscript_keymap_avr5.x | ||
| 74 | endif | ||
| 71 | 75 | ||
| 72 | # Version string | 76 | # Version string |
| 73 | OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) | 77 | OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) |
