]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keymap] Overly greedy community keymap build userspace (#6969)
authorYan-Fa Li <yanfali@gmail.com>
Tue, 8 Oct 2019 02:23:59 +0000 (19:23 -0700)
committerDrashna Jaelre <drashna@live.com>
Tue, 8 Oct 2019 02:23:59 +0000 (19:23 -0700)
- this fixes breakage in instant60 pcb sorry @upas

users/yanfali/rules.mk

index ebee8b8275eec71215affc8fbcd41133d7c72dde..b52bd55620e50f014c404238b4ecb40d946c2c13 100644 (file)
@@ -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