Skip to content

Commit

Permalink
Selectively enable command and console for yanfali userspace (#11212)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yanfali authored Dec 14, 2020
1 parent 795e820 commit e6217b6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions users/yanfali/rules.mk
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -28,4 +33,6 @@ endif

ifeq ($(strip $(KEYBOARD)), ai03/polaris)
RGBLIGHT_ENABLE = no
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
endif

0 comments on commit e6217b6

Please sign in to comment.