post_rules.mk 588 B

12345678910111213141516171819
  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. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  3. OPT_DEFS += -DIOS_DEVICE_ENABLE
  4. else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
  5. OPT_DEFS += -DRGBLIGHT_FULL_POWER
  6. endif
  7. ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
  8. OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
  9. endif
  10. ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes)
  11. OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS
  12. endif
  13. ifeq ($(strip $(LED_MIRRORED)), yes)
  14. OPT_DEFS += -DLED_MIRRORED
  15. endif