summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb/Makefile
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-29 00:42:40 +0100
committertmk <nobody@nowhere>2013-11-29 01:12:28 +0100
commitfd7833388cdf8b15728d951b63e78571ba2edbc9 (patch)
treeb146719ffc79ad5f48076e1e3a77929f4e8e19b6 /keyboard/hhkb/Makefile
parentd2a83dae8f69f966b47db0316f1580793a810078 (diff)
downloadqmk_firmware-fd7833388cdf8b15728d951b63e78571ba2edbc9.tar.gz
qmk_firmware-fd7833388cdf8b15728d951b63e78571ba2edbc9.tar.xz
Add new keymap framework
Diffstat (limited to 'keyboard/hhkb/Makefile')
-rw-r--r--keyboard/hhkb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboard/hhkb/Makefile b/keyboard/hhkb/Makefile
index 94078702c..89d05ba15 100644
--- a/keyboard/hhkb/Makefile
+++ b/keyboard/hhkb/Makefile
@@ -49,10 +49,16 @@ TARGET_DIR = .
# List C source files here. (C dependencies are automatically generated.)
-SRC += keymap.c \
+SRC += keymap_common.c \
matrix.c \
led.c
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap_hasu.c $(SRC)
+endif
+
CONFIG_H = config.h