From 9a5daf3e45f5b5ec7406797a4e24eea778b1705a Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 23 Sep 2024 01:25:37 +0200 Subject: don't do the OLED stuff for Planck --- keyboards/crkbd/keymaps/christoph-cullmann/rules.mk | 3 +++ 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 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 -- cgit v1.2.3