Variables in Makefile are ignored in rules.mk

This commit is contained in:
shela 2016-09-11 02:46:06 +09:00
parent 70b4fc808d
commit 2a8536f00f
3 changed files with 2 additions and 6 deletions

View file

@ -1 +1 @@
HHKB_JP=yes
OPT_DEFS += -DHHKB_JP

View file

@ -1 +1 @@
HHKB_JP=yes
OPT_DEFS += -DHHKB_JP

View file

@ -72,10 +72,6 @@ CUSTOM_MATRIX ?= yes # Custom matrix file for the HHKB
# UNICODE_ENABLE ?= yes # Unicode
# BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID
ifneq (, $(findstring yes, $(HHKB_JP)))
OPT_DEFS += -DHHKB_JP
endif
debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
debug-on: all