summaryrefslogtreecommitdiff
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2017-02-10 23:34:27 -0800
committerXyverz <xyverz@gmail.com>2017-02-10 23:34:27 -0800
commit902d5077cd54f3a964e3276d7858212d975818ec (patch)
treecddf5a379614f421908bbe57ae5d396cc1e2ed37 /tmk_core/common.mk
parent4d7105c2cf47c7604b54cdf488b4eb9d08c1f1cf (diff)
parent835556da9111d91b71c545d6a273e843f07631ae (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index 3c1373c081..a86dccc616 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -80,6 +80,14 @@ ifeq ($(strip $(SLEEP_LED_ENABLE)), yes)
TMK_COMMON_DEFS += -DNO_SUSPEND_POWER_DOWN
endif
+ifeq ($(strip $(NO_UART)), yes)
+ TMK_COMMON_DEFS += -DNO_UART
+endif
+
+ifeq ($(strip $(NO_SUSPEND_POWER_DOWN)), yes)
+ TMK_COMMON_DEFS += -DNO_SUSPEND_POWER_DOWN
+endif
+
ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
TMK_COMMON_SRC += $(COMMON_DIR)/backlight.c
TMK_COMMON_DEFS += -DBACKLIGHT_ENABLE