diff options
author | Joel Challis <[email protected]> | 2021-10-28 01:07:53 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-28 01:07:53 +0100 |
commit | b780c797beb726839e99e3f4054f9b4c33331cdc (patch) | |
tree | 019aed772e8204149727afb0841f9043a7084eda /paths.mk | |
parent | 6c507afcf212165dd5f3c3f6c026b517295c5090 (diff) | |
download | qmk_firmware-b780c797beb726839e99e3f4054f9b4c33331cdc.tar.gz qmk_firmware-b780c797beb726839e99e3f4054f9b4c33331cdc.zip |
Migrate makefile utilities to sub-directory (#14917)
Diffstat (limited to 'paths.mk')
-rw-r--r-- | paths.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/paths.mk b/paths.mk new file mode 100644 index 0000000000..78eaf39967 --- /dev/null +++ b/paths.mk @@ -0,0 +1,29 @@ +# 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) + +PLATFORM_DIR = platforms +PLATFORM_PATH = $(PLATFORM_DIR) + +BUILDDEFS_DIR = builddefs +BUILDDEFS_PATH = $(BUILDDEFS_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 += $(QUANTUM_PATH)/sequencer +COMMON_VPATH += $(DRIVER_PATH) |