瀏覽代碼

Variables in Makefile are ignored in rules.mk

shela 8 年之前
父節點
當前提交
2a8536f00f
共有 3 個文件被更改,包括 2 次插入6 次删除
  1. 1 1
      keyboards/hhkb/keymaps/jp/Makefile
  2. 1 1
      keyboards/hhkb/keymaps/rdg_jp/Makefile
  3. 0 4
      keyboards/hhkb/rules.mk

+ 1 - 1
keyboards/hhkb/keymaps/jp/Makefile

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

+ 1 - 1
keyboards/hhkb/keymaps/rdg_jp/Makefile

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

+ 0 - 4
keyboards/hhkb/rules.mk

@@ -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