diff --git a/common.mk b/common.mk index 70f7ae09..f87c2093 100644 --- a/common.mk +++ b/common.mk @@ -17,5 +17,4 @@ COMMON_VPATH += $(QUANTUM_PATH) COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras COMMON_VPATH += $(QUANTUM_PATH)/audio COMMON_VPATH += $(QUANTUM_PATH)/process_keycode -COMMON_VPATH += $(QUANTUM_PATH)/api -COMMON_VPATH += $(SERIAL_PATH) +COMMON_VPATH += $(QUANTUM_PATH)/api \ No newline at end of file diff --git a/common_features.mk b/common_features.mk index a8a52afb..f5e7af01 100644 --- a/common_features.mk +++ b/common_features.mk @@ -18,6 +18,7 @@ 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 +COMMON_VPATH += $(SERIAL_PATH) ifeq ($(strip $(API_SYSEX_ENABLE)), yes) OPT_DEFS += -DAPI_SYSEX_ENABLE