diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-07-06 23:20:20 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-07-06 23:20:20 +0200 |
commit | 70797bb8f21c72cba15b314b2d0a6684bfedc369 (patch) | |
tree | 988c9464320f49d71037df05ecee443ba4282125 /Makefile | |
parent | 10f3a1b6215af2a1c74b0245e46f5b6352ee18a4 (diff) | |
download | qmk_firmware-70797bb8f21c72cba15b314b2d0a6684bfedc369.tar.gz qmk_firmware-70797bb8f21c72cba15b314b2d0a6684bfedc369.tar.xz |
Makefile changes and files to compile Visualizer
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -218,14 +218,6 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes) VAPTH += $(SERIAL_PATH) endif -ifeq ($(MASTER),right) - OPT_DEFS += -DMASTER_IS_ON_RIGHT -else - ifneq ($(MASTER),left) -$(error MASTER does not have a valid value(left/right)) - endif -endif - # Optimize size but this may cause error "relocation truncated to fit" #EXTRALDFLAGS = -Wl,--relax @@ -257,10 +249,17 @@ ifeq ($(PLATFORM),AVR) else ifeq ($(PLATFORM),CHIBIOS) include $(TMK_PATH)/protocol/chibios.mk include $(TMK_PATH)/chibios.mk + OPT_OS = chibios else $(error Unknown platform) endif +ifeq ($(strip $(VISUALIZER_ENABLE)), yes) + VISUALIZER_DIR = $(QUANTUM_DIR)/visualizer + VISUALIZER_PATH = $(QUANTUM_PATH)/visualizer + include $(VISUALIZER_PATH)/visualizer.mk +endif + include $(TMK_PATH)/rules.mk GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always --tags 2>/dev/null || date +"%Y-%m-%d-%H:%M:%S") |