From a95271124afc657957eb5c10b6358c98bcbffafd Mon Sep 17 00:00:00 2001 From: Yan-Fa Li Date: Mon, 7 Oct 2019 18:31:33 -0700 Subject: [PATCH] Don't build audio for every matching keyboard - this fixes breakage in instant60 pcb sorry @upas --- users/yanfali/rules.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk index ebee8b8275ee..b52bd55620e5 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