X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common.mk;h=47d5c852f330cb93842f1196d9d93889cf2f279f;hb=c1f7bb00b238a80b00143a2cc213bea6d2037793;hp=5f47e5c1bc3de8faa372ba6f98c04e8d6a0a722b;hpb=d9c06db60006e2191d8b86e34f651644a54426b4;p=tmk_firmware.git diff --git a/common.mk b/common.mk index 5f47e5c..47d5c85 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