Skip to content

Commit

Permalink
Don't build audio for every matching keyboard
Browse files Browse the repository at this point in the history
 - this fixes breakage in instant60 pcb sorry @Upas
  • Loading branch information
Yan-Fa Li committed Oct 8, 2019
1 parent dc5876a commit a952711
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions users/yanfali/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a952711

Please sign in to comment.