summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorWraul <wraul@dbox.se>2013-05-30 20:24:39 +0200
committertmk <nobody@nowhere>2013-06-22 17:23:36 +0900
commit1eb8523e9506c752fb726208d8853a82f06e6659 (patch)
tree999363ab141da73f3e59f2edf7d2778b298aef5f /common.mk
parent9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff)
Add support for backlight
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5f47e5c1bc..47d5c852f3 100644
--- a/common.mk
+++ b/common.mk
@@ -63,6 +63,11 @@ ifdef SLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif
+ifdef BACKLIGHT_ENABLE
+ SRC += $(COMMON_DIR)/backlight.c
+ OPT_DEFS += -DBACKLIGHT_ENABLE
+endif
+
# Search Path
VPATH += $(TOP_DIR)/common