diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-28 22:25:39 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 17:34:59 +0200 |
commit | f5c89416527a3ec435ed49137fd2bf4af216024c (patch) | |
tree | aef2532c7f770c8ab67c52e717aeff7e58c5bf7d /quantum | |
parent | bb86be1f1f3927a7ce339cb9439c97914af24754 (diff) | |
download | qmk_firmware-f5c89416527a3ec435ed49137fd2bf4af216024c.tar.gz qmk_firmware-f5c89416527a3ec435ed49137fd2bf4af216024c.tar.xz |
UGFX is compiled once per keyboard instead of keymap
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/visualizer/visualizer.mk | 4 |
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 |