summaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/ut47
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/40percentclub/ut47')
-rw-r--r--keyboards/40percentclub/ut47/post_rules.mk4
-rw-r--r--keyboards/40percentclub/ut47/rules.mk5
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/40percentclub/ut47/post_rules.mk b/keyboards/40percentclub/ut47/post_rules.mk
new file mode 100644
index 0000000000..7051ee413d
--- /dev/null
+++ b/keyboards/40percentclub/ut47/post_rules.mk
@@ -0,0 +1,4 @@
+ifeq ($(strip $(LED_ENABLE)), yes)
+ OPT_DEFS += -DLED_ENABLE
+ SRC += led.c
+endif
diff --git a/keyboards/40percentclub/ut47/rules.mk b/keyboards/40percentclub/ut47/rules.mk
index 8451db0389..48defba714 100644
--- a/keyboards/40percentclub/ut47/rules.mk
+++ b/keyboards/40percentclub/ut47/rules.mk
@@ -23,8 +23,3 @@ AUDIO_ENABLE = no # Audio output on port C6
# custom matrix setup
CUSTOM_MATRIX = yes
SRC += matrix.c protocol/serial_uart.c
-
-ifeq ($(strip $(LED_ENABLE)), yes)
- OPT_DEFS += -DLED_ENABLE
- SRC += led.c
-endif