aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2016-08-24 22:23:17 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2016-08-27 21:57:49 +0300
commit0a11460175d6a838c71343c19eb4ce4699936247 (patch)
treee2e96c421172e212d6e623127d40d4582bd02127 /common.mk
parent8a9aac6e3237a505682cc7249a8dfff6cb964343 (diff)
downloadqmk_firmware-0a11460175d6a838c71343c19eb4ce4699936247.tar.gz
Build actual tests, convert byte_stuffer_tests
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 689fdf5a5..f9b0773a8 100644
--- a/common.mk
+++ b/common.mk
@@ -9,4 +9,18 @@ LIB_PATH = $(TOP_DIR)/lib
QUANTUM_DIR = quantum
QUANTUM_PATH = $(TOP_DIR)/$(QUANTUM_DIR)
-BUILD_DIR := $(TOP_DIR)/.build \ No newline at end of file
+BUILD_DIR := $(TOP_DIR)/.build
+
+SERIAL_DIR := $(QUANTUM_DIR)/serial_link
+SERIAL_PATH := $(QUANTUM_PATH)/serial_link
+SERIAL_SRC := $(wildcard $(SERIAL_PATH)/protocol/*.c)
+SERIAL_SRC += $(wildcard $(SERIAL_PATH)/system/*.c)
+SERIAL_DEFS += -DSERIAL_LINK_ENABLE
+
+VPATH += $(TOP_DIR)
+VPATH += $(TMK_PATH)
+VPATH += $(QUANTUM_PATH)
+VPATH += $(QUANTUM_PATH)/keymap_extras
+VPATH += $(QUANTUM_PATH)/audio
+VPATH += $(QUANTUM_PATH)/process_keycode
+VPATH += $(SERIAL_PATH) \ No newline at end of file