From 8fe15fa17af87c9430afde7fe30c323033a18f02 Mon Sep 17 00:00:00 2001 From: Yan-Fa Li Date: Mon, 7 Oct 2019 19:23:59 -0700 Subject: [PATCH] [Keymap] Overly greedy community keymap build userspace (#6969) - 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 ebee8b8275e..b52bd55620e 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