From fd7833388cdf8b15728d951b63e78571ba2edbc9 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 29 Nov 2013 08:42:40 +0900 Subject: Add new keymap framework --- keyboard/hhkb/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'keyboard/hhkb/Makefile') 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 -- cgit v1.2.1