mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-15 14:13:27 +00:00
4e1c5887c5
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# As long as the users rules.mk has include $(KEYBOARD)/post_rules.mk this will be run after to properly setup any keyboard features and defines
|
|
|
|
ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
|
|
OPT_DEFS += -DIOS_DEVICE_ENABLE
|
|
else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
|
|
OPT_DEFS += -DRGBLIGHT_FULL_POWER
|
|
endif
|
|
|
|
ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
|
|
OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
|
|
endif
|
|
|
|
ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes)
|
|
OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
endif
|
|
|
|
ifeq ($(strip $(LED_MIRRORED)), yes)
|
|
OPT_DEFS += -DLED_MIRRORED
|
|
endif
|
|
|
|
ifeq ($(strip $(FULLHAND_ENABLE)), yes)
|
|
OPT_DEFS += -DFULLHAND_ENABLE
|
|
else ifeq ($(strip $(SF_ENABLE)), yes)
|
|
OPT_DEFS += -DSF_ENABLE
|
|
endif
|
|
|
|
ifeq ($(strip $(EXTRA_ENCODERS_ENABLE)), yes)
|
|
OPT_DEFS += -DEXTRA_ENCODERS_ENABLE
|
|
endif
|
|
|
|
ifeq ($(strip $(OLED_ENABLE)), yes)
|
|
ifeq ($(strip $(ENCODER_ENABLE)), yes)
|
|
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
|
|
ifneq ($(strip $(RGB_OLED_MENU)), no)
|
|
OPT_DEFS += -DRGB_OLED_MENU=$(strip $(RGB_OLED_MENU))
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|