summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2020-12-14 11:13:00 -0800
committerGitHub <noreply@github.com>2020-12-14 11:13:00 -0800
commite6217b6aa6d83c21275b60b441baf1395a20f72f (patch)
tree3fcf10475b7c3f5d4b29a6b0e3ea95cd307424cd
parent795e82074d3d410296a5d96e71057d2f0b9af7ec (diff)
downloadqmk_firmware-e6217b6aa6d83c21275b60b441baf1395a20f72f.tar.gz
qmk_firmware-e6217b6aa6d83c21275b60b441baf1395a20f72f.zip
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
-rw-r--r--users/yanfali/rules.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk
index bf88c04528..467adceef7 100644
--- a/users/yanfali/rules.mk
+++ b/users/yanfali/rules.mk
@@ -1,24 +1,29 @@
-BOOTMAGIC = lite
+BOOTMAGIC_ENABLE = lite
DYNAMIC_KEYMAP_ENABLE = no
-CONSOLE_ENABLE = yes
-COMMAND_ENABLE = yes
LTO_ENABLE = yes
AUDIO_ENABLE = no
# only enable audio on specific boards
ifeq ($(strip $(KEYBOARD)), evyd13/plain60)
AUDIO_ENABLE = yes
+ CONSOLE_ENABLE = yes
+ COMMAND_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), clueboard/60)
AUDIO_ENABLE = yes
+ CONSOLE_ENABLE = yes
+ COMMAND_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), hadron/ver3)
AUDIO_ENABLE = yes
+ CONSOLE_ENABLE = yes
+ COMMAND_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), fruity60)
+ CONSOLE_ENABLE = yes
COMMAND_ENABLE = no
endif
@@ -28,4 +33,6 @@ endif
ifeq ($(strip $(KEYBOARD)), ai03/polaris)
RGBLIGHT_ENABLE = no
+ CONSOLE_ENABLE = yes
+ COMMAND_ENABLE = yes
endif