logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

override_helix_options.mk-maintenance (1464B)


  1. ifneq ($(strip $(HELIX)),)
  2. $(info -------------------------)
  3. $(info override_helix_options.mk)
  4. $(info -------------------------)
  5. endif
  6. define HELIX_OVERRIDE_PARSE
  7. ifeq ($(strip $1),back)
  8. LED_BACK_ENABLE = yes
  9. LED_UNDERGLOW_ENABLE = no
  10. endif
  11. ifeq ($(strip $1),under)
  12. LED_BACK_ENABLE = no
  13. LED_UNDERGLOW_ENABLE = yes
  14. endif
  15. ifneq ($(filter led-off led_off noback no-back nounder no-under,$(strip $1)),)
  16. LED_BACK_ENABLE = no
  17. LED_UNDERGLOW_ENABLE = no
  18. endif
  19. ifneq ($(filter core-oled core_oled newoled new-oled olednew oled-new,$(strip $1)),)
  20. OLED_ENABLE = yes
  21. OLED_SELECT = core
  22. endif
  23. ifneq ($(filter local-oled local_oled oldoled old-oled oledold oled-old,$(strip $1)),)
  24. OLED_ENABLE = yes
  25. OLED_SELECT = local
  26. endif
  27. ifneq ($(filter sc split-common split_common,$(strip $1)),)
  28. SPLIT_KEYBOARD = yes
  29. endif
  30. ifneq ($(filter nosc no-sc no-split-common no-split_common,$(strip $1)),)
  31. SPLIT_KEYBOARD = no
  32. endif
  33. ifeq ($(strip $1),scan)
  34. DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
  35. endif
  36. ifeq ($(strip $1),scan-api)
  37. DEBUG_MATRIX_SCAN_RATE_ENABLE = api
  38. endif
  39. ifeq ($(strip $1),lto)
  40. LTO_ENABLE = yes
  41. endif
  42. ifneq ($(filter nolto no-lto no_lto,$(strip $1)),)
  43. LTO_ENABLE = no
  44. endif
  45. endef # end of HELIX_OVERRIDE_PARSE