]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/rgbkb/sol/rev2/post_rules.mk
Sol Rev 2 Keyboard (#6389)
[qmk_firmware.git] / keyboards / rgbkb / sol / rev2 / post_rules.mk
1 # 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
2
3 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
4     OPT_DEFS += -DIOS_DEVICE_ENABLE
5 else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
6     OPT_DEFS += -DRGBLIGHT_FULL_POWER
7 endif
8
9 ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
10     OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
11 endif
12
13 ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes)
14     OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS
15 endif
16
17 ifeq ($(strip $(LED_MIRRORED)), yes)
18     OPT_DEFS += -DLED_MIRRORED
19 endif
20
21 ifeq ($(strip $(FULLHAND_ENABLE)), yes)
22     OPT_DEFS += -DFULLHAND_ENABLE
23 endif
24
25 ifeq ($(strip $(EXTRA_ENCODERS_ENABLE)), yes)
26     OPT_DEFS += -DEXTRA_ENCODERS_ENABLE
27 endif
28
29 ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
30     ifeq ($(strip $(ENCODER_ENABLE)), yes)
31         ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
32             ifneq ($(strip $(RGB_OLED_MENU)), no)
33                 OPT_DEFS += -DRGB_OLED_MENU=$(strip $(RGB_OLED_MENU))
34             endif
35         endif
36     endif
37 endif