summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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