keychron_qmk_firmware/users/yanfali/rules.mk
2020-04-08 18:20:58 -07:00

32 lines
622 B
Makefile

BOOTMAGIC = lite
DYNAMIC_KEYMAP_ENABLE = no
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
AUDIO_ENABLE = no
# only enable audio on specific boards
ifeq ($(strip $(KEYBOARD)), maartenwut/plain60)
AUDIO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), clueboard/60)
AUDIO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), hadron/ver3)
AUDIO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), fruity60)
COMMAND_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), kbdfans/kbd75/rev1)
COMMAND_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), ai03/polaris)
RGBLIGHT_ENABLE = no
endif