summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb/Makefile
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-30 12:04:39 +0900
committertmk <nobody@nowhere>2013-11-30 12:04:39 +0900
commit6d76e600958c72491c3a9eda661d23076dde38b0 (patch)
tree0621a81bd997f95c397fdd671b81b6665457ea7d /keyboard/hhkb/Makefile
parente3bcdd8211743607a8812f2dee78ee8ae6965209 (diff)
parent119c34e0949b154ee948534a6c3c64640e0d65ec (diff)
Merge branch 'hhkb_spaceFN'
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 94078702c4..89d05ba159 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