瀏覽代碼

Move Split Common VPATH addition (#4716)

Specifically, only add the split_common folder to COMMON_VPATH if the feature is eanbled, to prevent issues with compilation
pjones-keymap
Drashna Jaelre 6 月之前
父節點
當前提交
7f0def77a2
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0
    1
      common.mk
  2. 1
    0
      common_features.mk

+ 0
- 1
common.mk 查看文件

@@ -21,5 +21,4 @@ COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras
21 21
 COMMON_VPATH += $(QUANTUM_PATH)/audio
22 22
 COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
23 23
 COMMON_VPATH += $(QUANTUM_PATH)/api
24
-COMMON_VPATH += $(QUANTUM_PATH)/split_common
25 24
 COMMON_VPATH += $(DRIVER_PATH)

+ 1
- 0
common_features.mk 查看文件

@@ -268,4 +268,5 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
268 268
                 $(QUANTUM_DIR)/split_common/split_util.c
269 269
     QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/i2c.c
270 270
     QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/serial.c
271
+    COMMON_VPATH += $(QUANTUM_PATH)/split_common
271 272
 endif

Loading…
取消
儲存