summaryrefslogtreecommitdiff
path: root/users/yanfali
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-10-07 19:23:59 -0700
committerDrashna Jaelre <drashna@live.com>2019-10-07 19:23:59 -0700
commit8fe15fa17af87c9430afde7fe30c323033a18f02 (patch)
tree5b4a34488b6d5ac663aaf6d26b5cc0d2bb818819 /users/yanfali
parent403c139b34fe97f61eedb4a3cc4772d58bce0efc (diff)
downloadqmk_firmware-8fe15fa17af87c9430afde7fe30c323033a18f02.tar.gz
qmk_firmware-8fe15fa17af87c9430afde7fe30c323033a18f02.zip
[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 ebee8b8275..b52bd55620 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