Selectively enable command and console for yanfali userspace (#11212)

* Remove command and console

 - these options prevent community layouts from being built on other
   keyboards. Selectively enable it on keyboards I own rather than on
   everything.

* Update users/yanfali/rules.mk
This commit is contained in:
Yan-Fa Li 2020-12-14 11:13:00 -08:00 committed by GitHub
parent 795e82074d
commit e6217b6aa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,29 @@
BOOTMAGIC = lite BOOTMAGIC_ENABLE = lite
DYNAMIC_KEYMAP_ENABLE = no DYNAMIC_KEYMAP_ENABLE = no
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
LTO_ENABLE = yes LTO_ENABLE = yes
AUDIO_ENABLE = no AUDIO_ENABLE = no
# only enable audio on specific boards # only enable audio on specific boards
ifeq ($(strip $(KEYBOARD)), evyd13/plain60) ifeq ($(strip $(KEYBOARD)), evyd13/plain60)
AUDIO_ENABLE = yes AUDIO_ENABLE = yes
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
endif endif
ifeq ($(strip $(KEYBOARD)), clueboard/60) ifeq ($(strip $(KEYBOARD)), clueboard/60)
AUDIO_ENABLE = yes AUDIO_ENABLE = yes
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
endif endif
ifeq ($(strip $(KEYBOARD)), hadron/ver3) ifeq ($(strip $(KEYBOARD)), hadron/ver3)
AUDIO_ENABLE = yes AUDIO_ENABLE = yes
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
endif endif
ifeq ($(strip $(KEYBOARD)), fruity60) ifeq ($(strip $(KEYBOARD)), fruity60)
CONSOLE_ENABLE = yes
COMMAND_ENABLE = no COMMAND_ENABLE = no
endif endif
@ -28,4 +33,6 @@ endif
ifeq ($(strip $(KEYBOARD)), ai03/polaris) ifeq ($(strip $(KEYBOARD)), ai03/polaris)
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
endif endif