summaryrefslogtreecommitdiff
path: root/converter/usb_usb/Makefile
diff options
context:
space:
mode:
authorJun Wako <wakojun@gmail.com>2014-12-11 03:52:05 +0900
committerJun Wako <wakojun@gmail.com>2014-12-11 03:52:05 +0900
commita0d6bb1818b90f341b2a5daaea3652fe19cd4184 (patch)
tree67e0726c9f385fee4dc83d3f3e32b8a2ea9f0a33 /converter/usb_usb/Makefile
parentb47450da9ffc1c296b3ba6ecd189fced0b7b8ed9 (diff)
usb_usb: Add SpaceFn and hasu keymap
Diffstat (limited to 'converter/usb_usb/Makefile')
-rw-r--r--converter/usb_usb/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/converter/usb_usb/Makefile b/converter/usb_usb/Makefile
index 4f983e7f68..d6867bb002 100644
--- a/converter/usb_usb/Makefile
+++ b/converter/usb_usb/Makefile
@@ -99,16 +99,22 @@ CONSOLE_ENABLE = yes # Console for debug
# Teensy halfKay 512
# Atmel DFU loader 4096
# LUFA bootloader 4096
-#OPT_DEFS += -DBOOTLOADER_SIZE=4096
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
SRC = \
- keymap.c \
+ keymap_common.c \
matrix.c \
led.c \
main.cpp
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap.c $(SRC)
+endif
+
CONFIG_H = config.h