aboutsummaryrefslogtreecommitdiffstats
path: root/users/yanfali
diff options
context:
space:
mode:
authorGravatar Yan-Fa Li <yanfali@gmail.com>2019-10-07 19:23:59 -0700
committerGravatar Drashna Jaelre <drashna@live.com>2019-10-07 19:23:59 -0700
commit8fe15fa17af87c9430afde7fe30c323033a18f02 (patch)
tree5b4a34488b6d5ac663aaf6d26b5cc0d2bb818819 /users/yanfali
parent403c139b34fe97f61eedb4a3cc4772d58bce0efc (diff)
downloadqmk_firmware-8fe15fa17af87c9430afde7fe30c323033a18f02.tar.gz
[Keymap] Overly greedy community keymap build userspace (#6969)
- this fixes breakage in instant60 pcb sorry @upas
Diffstat (limited to 'users/yanfali')
-rw-r--r--users/yanfali/rules.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk
index ebee8b827..b52bd5562 100644
--- a/users/yanfali/rules.mk
+++ b/users/yanfali/rules.mk
@@ -4,9 +4,10 @@ CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
-ifneq (, $(findstring tokyo60, $(KEYBOARD)))
- AUDIO_ENABLE = no
-else
+# only enable audio on specific boards
+ifeq ($(strip $(KEYBOARD)), maartenwut/plain60)
AUDIO_ENABLE = yes
+else
+ AUDIO_ENABLE = no
endif