From f7395268c0826d00f2d32db8abb9eba7e3159a75 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 3 Sep 2013 23:53:19 +0900 Subject: Add ld script for keymap section --- keyboard/hhkb/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'keyboard/hhkb/Makefile') 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 -- cgit v1.2.3