X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common.mk;h=47d5c852f330cb93842f1196d9d93889cf2f279f;hb=e7c2af78b704bfddb581559d42cc7cc31ffab0bf;hp=5f47e5c1bc3de8faa372ba6f98c04e8d6a0a722b;hpb=cbb9c408e46a7a7a567f3d6e07713256152106d0;p=max%2Ftmk_keyboard.git diff --git a/common.mk b/common.mk index 5f47e5c1..47d5c852 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