diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-09-23 01:25:37 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-09-23 01:25:37 +0200 |
commit | 9a5daf3e45f5b5ec7406797a4e24eea778b1705a (patch) | |
tree | 2629ef1c38b40cf11073012c1014eba8669218e1 | |
parent | 1572a1d707d7e106124e320e26023f8395adbd9f (diff) |
don't do the OLED stuff for Planck
-rw-r--r-- | keyboards/crkbd/keymaps/christoph-cullmann/rules.mk | 3 | ||||
-rw-r--r-- | rules.mk | 8 |
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 @@ -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 |