summaryrefslogtreecommitdiff
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorHugh Enxing <henxing@draper.com>2017-03-28 12:11:49 -0400
committerHugh Enxing <henxing@draper.com>2017-03-28 12:11:49 -0400
commit3fdc45b4e9581c823ac09545241241e0c6d3f313 (patch)
treef17c050672086233a2de4e4c8d0ba72c5bd87841 /tmk_core/common.mk
parent25f2295ba88627521bed63ec4e5412b983626901 (diff)
parent5e4daf1c6db980fad269fe7b013205008bfe701e (diff)
Merge branch 'master' into default_atreus_layout
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index a86dccc616..47f6fc5719 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -93,14 +93,20 @@ ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
TMK_COMMON_DEFS += -DBACKLIGHT_ENABLE
endif
-ifeq ($(strip $(ADAFRUIT_BLE_ENABLE)), yes)
- TMK_COMMON_DEFS += -DADAFRUIT_BLE_ENABLE
-endif
-
ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
endif
+ifeq ($(strip $(BLUETOOTH)), AdafruitBLE)
+ TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
+ TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_BLE
+endif
+
+ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey)
+ TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
+ TMK_COMMON_DEFS += -DMODULE_ADAFRUIT_EZKEY
+endif
+
ifeq ($(strip $(ONEHAND_ENABLE)), yes)
TMK_COMMON_DEFS += -DONEHAND_ENABLE
endif