summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-09-23 01:25:37 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-09-23 01:25:37 +0200
commit9a5daf3e45f5b5ec7406797a4e24eea778b1705a (patch)
tree2629ef1c38b40cf11073012c1014eba8669218e1 /rules.mk
parent1572a1d707d7e106124e320e26023f8395adbd9f (diff)
don't do the OLED stuff for Planck
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.mk b/rules.mk
index 2688f80..414e0a5 100644
--- a/rules.mk
+++ b/rules.mk
@@ -13,9 +13,11 @@ SPACE_CADET_ENABLE = no
# add achordion to improve home row modifiers
SRC += features/achordion.c
-# add bongocat & luna for OLED
-SRC += features/oled_bongocat.c
-SRC += features/oled_luna.c
+# add bongocat & luna for OLEDs
+ifeq ($(strip $(OLED_ENABLE)), yes)
+ SRC += features/oled_bongocat.c
+ SRC += features/oled_luna.c
+endif
# good optimizations
LTO_ENABLE = yes