summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builddefs/build_keyboard.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk
index dae8c07e3e..0df95342f9 100644
--- a/builddefs/build_keyboard.mk
+++ b/builddefs/build_keyboard.mk
@@ -474,8 +474,10 @@ ifneq ($(wildcard $(QMK_USERSPACE)),)
474endif 474endif
475 475
476# If the equivalent users directory exists in userspace, use that in preference to anything currently in the main repo 476# If the equivalent users directory exists in userspace, use that in preference to anything currently in the main repo
477ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),) 477ifneq ($(QMK_USERSPACE),)
478 USER_PATH := $(QMK_USERSPACE)/$(USER_PATH) 478 ifneq ($(wildcard $(QMK_USERSPACE)/$(USER_PATH)),)
479 USER_PATH := $(QMK_USERSPACE)/$(USER_PATH)
480 endif
479endif 481endif
480 482
481# Pull in user level rules.mk 483# Pull in user level rules.mk