keychron_qmk_firmware/users/yanfali/rules.mk
Yan-Fa Li eb1f99c5f9
[keymap] Update audio controls on community (#8163)
* Update audio controls on community

* Add rules for various boards

* TKL support
2020-02-14 11:03:35 -08:00

28 lines
548 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