You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
643 B

  1. SRC += brandonschlack.c \
  2. process_records.c
  3. SPACE_CADET_ENABLE = no
  4. # Use LTO except for ChibiOS
  5. ifneq ($(PLATFORM),CHIBIOS)
  6. LTO_ENABLE = yes
  7. endif
  8. ifeq ($(strip $(IS_MACROPAD)), yes)
  9. OPT_DEFS += -DIS_MACROPAD
  10. endif
  11. ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
  12. SRC += rgb_bs.c
  13. endif
  14. RGB_MATRIX_ENABLE ?= no
  15. ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
  16. SRC += rgb_bs.c
  17. endif
  18. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  19. SRC += tap_dances.c
  20. endif
  21. ifeq ($(strip $(FLASH_BOOTLOADER)), yes)
  22. OPT_DEFS += -DFLASH_BOOTLOADER
  23. endif
  24. ifneq ($(FORCE_LAYOUT),)
  25. OPT_DEFS += -DFORCE_LAYOUT=\"$(FORCE_LAYOUT)\"
  26. endif