X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common.mk;h=47d5c852f330cb93842f1196d9d93889cf2f279f;hb=3b1e5a9ce90d30cf35136b0b423be6c9d5cb6713;hp=810f802c66d6ba56c56e13d1bb1e0980dc970f0f;hpb=4e93b3fa67d3b8170de2f05322738e08ac17948e;p=tmk_firmware.git diff --git a/common.mk b/common.mk index 810f802..47d5c85 100644 --- a/common.mk +++ b/common.mk @@ -11,6 +11,7 @@ SRC += $(COMMON_DIR)/host.c \ $(COMMON_DIR)/print.c \ $(COMMON_DIR)/bootloader.c \ $(COMMON_DIR)/suspend.c \ + $(COMMON_DIR)/xprintf.S \ $(COMMON_DIR)/util.c @@ -62,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