mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 03:26:51 +06:00
7f0def77a2
Specifically, only add the split_common folder to COMMON_VPATH if the feature is eanbled, to prevent issues with compilation
25 lines
537 B
Makefile
25 lines
537 B
Makefile
include message.mk
|
|
|
|
# Directory common source files exist
|
|
TOP_DIR = .
|
|
TMK_DIR = tmk_core
|
|
TMK_PATH = $(TMK_DIR)
|
|
LIB_PATH = lib
|
|
|
|
QUANTUM_DIR = quantum
|
|
QUANTUM_PATH = $(QUANTUM_DIR)
|
|
|
|
DRIVER_DIR = drivers
|
|
DRIVER_PATH = $(DRIVER_DIR)
|
|
|
|
BUILD_DIR := .build
|
|
|
|
COMMON_VPATH := $(TOP_DIR)
|
|
COMMON_VPATH += $(TMK_PATH)
|
|
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 += $(DRIVER_PATH)
|