diff options
author | Jun Wako <wakojun@gmail.com> | 2015-01-11 01:54:17 +0900 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2015-01-11 01:54:17 +0900 |
commit | 10a6b2c7d8bc9c5d2657acdeefa1102be5035280 (patch) | |
tree | 162e1024f3660d9e214fe16eb19c67e2b2377c67 /keyboard/hhkb/Makefile | |
parent | 3dbb762dcc5b1d340cb145fc4ca60748ccf7c890 (diff) |
hhkb: Add Makefile.jp for HHKB JP
Diffstat (limited to 'keyboard/hhkb/Makefile')
-rw-r--r-- | keyboard/hhkb/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboard/hhkb/Makefile b/keyboard/hhkb/Makefile index 5cf02d194e..dc5c06a948 100644 --- a/keyboard/hhkb/Makefile +++ b/keyboard/hhkb/Makefile @@ -121,11 +121,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover #HHKB_JP = yes # HHKB JP support -ifdef HHKB_JP - OPT_DEFS += -DHHKB_JP -endif - - # # Keymap file # @@ -140,6 +135,11 @@ else endif +ifneq (, $(or $(findstring keymap_jp.c, $(SRC)), $(findstring yes, $(HHKB_JP)))) + OPT_DEFS += -DHHKB_JP +endif + + # Search Path VPATH += $(TARGET_DIR) VPATH += $(TOP_DIR) |