summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb/Makefile')
-rw-r--r--keyboard/hhkb/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard/hhkb/Makefile b/keyboard/hhkb/Makefile
index 1ef0a0187a..3422193721 100644
--- a/keyboard/hhkb/Makefile
+++ b/keyboard/hhkb/Makefile
@@ -119,6 +119,10 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
+# keymap section
+EXTRALDFLAGS = -Wl,-Tld_keymap_avr5.x
+OPT_DEFS += -DKEYMAP_SECTION
+
# Search Path
VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR)
@@ -128,4 +132,5 @@ include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk
debug-on: EXTRAFLAGS += -DDEBUG
+#debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
debug-on: all