added support for specifying custom led.c
authorEvan Sailer <esailer@ip-10-157-200-108.us-west-2.compute.internal>
Thu, 22 Dec 2016 22:12:09 +0000 (15:12 -0700)
committerEvan Sailer <esailer@ip-10-157-200-108.us-west-2.compute.internal>
Thu, 22 Dec 2016 22:12:09 +0000 (15:12 -0700)
keyboard/tv44/Makefile

index 413b1bf91ab6626d4bdb3bed8677938ef4fce99d..066c4cc756792ffe039b751315f6e999827fdadb 100644 (file)
@@ -45,6 +45,12 @@ else
        TARGET = tv44_lufa
 endif
 
+ifdef LEDCONF
+       LED = $(LEDCONF).c
+else
+       LED = led.c
+endif
+
 # Directory common source filess exist
 TMK_DIR = ../../tmk_core
 
@@ -54,7 +60,7 @@ TARGET_DIR = .
 # project specific files
 SRC =  keymap_common.c \
        matrix.c \
-       led.c
+       $(LED)
 
 ifdef KEYMAP
     SRC := keymap_$(KEYMAP).c $(SRC)
Imprint / Impressum