aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-08-28 23:25:39 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-09 18:34:59 +0300
commitf5c89416527a3ec435ed49137fd2bf4af216024c (patch)
treeaef2532c7f770c8ab67c52e717aeff7e58c5bf7d /quantum
parentbb86be1f1f3927a7ce339cb9439c97914af24754 (diff)
downloadfirmware-f5c89416527a3ec435ed49137fd2bf4af216024c.tar.gz
firmware-f5c89416527a3ec435ed49137fd2bf4af216024c.tar.bz2
firmware-f5c89416527a3ec435ed49137fd2bf4af216024c.zip
UGFX is compiled once per keyboard instead of keymap
Diffstat (limited to 'quantum')
-rw-r--r--quantum/visualizer/visualizer.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/visualizer.mk b/quantum/visualizer/visualizer.mk
index ecdeba1ee..8f5fb8933 100644
--- a/quantum/visualizer/visualizer.mk
+++ b/quantum/visualizer/visualizer.mk
@@ -43,8 +43,8 @@ OPT_DEFS += -DLED_ENABLE
endif
include $(GFXLIB)/gfx.mk
-SRC += $(patsubst $(TOP_DIR)/%,%,$(GFXSRC))
-OPT_DEFS += $(patsubst %,-D%,$(patsubst -D%,%,$(GFXDEFS)))
+GFXSRC := $(patsubst $(TOP_DIR)/%,%,$(GFXSRC))
+GFXDEFS := $(patsubst %,-D%,$(patsubst -D%,%,$(GFXDEFS)))
ifneq ("$(wildcard $(KEYMAP_PATH)/visualizer.c)","")
SRC += keyboards/$(KEYBOARD)/keymaps/$(KEYMAP)/visualizer.c