update build includes for chibios
This commit is contained in:
parent
7c19e9fa04
commit
1c0d85c143
12
common.mk
12
common.mk
@ -3,16 +3,16 @@ include message.mk
|
|||||||
# Directory common source files exist
|
# Directory common source files exist
|
||||||
TOP_DIR = .
|
TOP_DIR = .
|
||||||
TMK_DIR = tmk_core
|
TMK_DIR = tmk_core
|
||||||
TMK_PATH = $(TOP_DIR)/$(TMK_DIR)
|
TMK_PATH = $(TMK_DIR)
|
||||||
LIB_PATH = $(TOP_DIR)/lib
|
LIB_PATH = lib
|
||||||
|
|
||||||
QUANTUM_DIR = quantum
|
QUANTUM_DIR = quantum
|
||||||
QUANTUM_PATH = $(TOP_DIR)/$(QUANTUM_DIR)
|
QUANTUM_PATH = $(QUANTUM_DIR)
|
||||||
|
|
||||||
DRIVER_DIR = drivers
|
DRIVER_DIR = drivers
|
||||||
DRIVER_PATH = $(TOP_DIR)/$(DRIVER_DIR)
|
DRIVER_PATH = $(DRIVER_DIR)
|
||||||
|
|
||||||
BUILD_DIR := $(TOP_DIR)/.build
|
BUILD_DIR := .build
|
||||||
|
|
||||||
COMMON_VPATH := $(TOP_DIR)
|
COMMON_VPATH := $(TOP_DIR)
|
||||||
COMMON_VPATH += $(TMK_PATH)
|
COMMON_VPATH += $(TMK_PATH)
|
||||||
@ -21,4 +21,4 @@ COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras
|
|||||||
COMMON_VPATH += $(QUANTUM_PATH)/audio
|
COMMON_VPATH += $(QUANTUM_PATH)/audio
|
||||||
COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
|
COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
|
||||||
COMMON_VPATH += $(QUANTUM_PATH)/api
|
COMMON_VPATH += $(QUANTUM_PATH)/api
|
||||||
COMMON_VPATH += $(DRIVER_PATH)
|
COMMON_VPATH += $(DRIVER_PATH)
|
||||||
|
@ -125,7 +125,7 @@ CHIBISRC := $(patsubst $(TOP_DIR)/%,%,$(CHIBISRC))
|
|||||||
EXTRAINCDIRS += $(CHIBIOS)/os/license \
|
EXTRAINCDIRS += $(CHIBIOS)/os/license \
|
||||||
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
|
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
|
||||||
$(STREAMSINC) $(CHIBIOS)/os/various
|
$(STREAMSINC) $(CHIBIOS)/os/various $(COMMON_VPATH)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
Loading…
Reference in New Issue
Block a user