ソースを参照

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot 8 ヶ月 前
コミット
192cf4cef6
1 ファイル変更4 行追加2 行削除
  1. 4 2
      builddefs/build_keyboard.mk

+ 4 - 2
builddefs/build_keyboard.mk

@@ -474,8 +474,10 @@ ifneq ($(wildcard $(QMK_USERSPACE)),)
 endif
 endif
 
 
 # If the equivalent users directory exists in userspace, use that in preference to anything currently in the main repo
 # If the equivalent users directory exists in userspace, use that in preference to anything currently in the main repo
-ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),)
-    USER_PATH := $(QMK_USERSPACE)/$(USER_PATH)
+ifneq ($(QMK_USERSPACE),)
+	ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),)
+    	USER_PATH := $(QMK_USERSPACE)/$(USER_PATH)
+	endif
 endif
 endif
 
 
 # Pull in user level rules.mk
 # Pull in user level rules.mk