summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/Makefile
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-09-03 23:53:19 +0900
committertmk <nobody@nowhere>2013-09-11 13:20:58 +0900
commitf7395268c0826d00f2d32db8abb9eba7e3159a75 (patch)
treecaf1552e7748e5824c167887a621532f93abf2fd /keyboard/hhkb/Makefile
parent60103a12b2ca0a572da1e72eb46bff19c499fc95 (diff)
Add ld script for keymap section
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