summaryrefslogtreecommitdiff
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
parent1572a1d707d7e106124e320e26023f8395adbd9f (diff)
don't do the OLED stuff for Planck
-rw-r--r--keyboards/crkbd/keymaps/christoph-cullmann/rules.mk3
-rw-r--r--rules.mk8
2 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk b/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk
index 9d1b049..0120620 100644
--- a/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk
+++ b/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk
@@ -1,3 +1,6 @@
+# set flags we check in common settings
+OLED_ENABLE = yes
+
# include common settings
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
include ${ROOT_DIR}../../../../rules.mk
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