From 508801c948b0d4a8b7ea727ce5c3a6ab393d7dc6 Mon Sep 17 00:00:00 2001 From: WillyPillow Date: Wed, 23 May 2018 03:47:28 +0800 Subject: [PATCH] Import userspace config.h according to USER_NAME (#2983) * Import userspace config.h according to USER_NAME * Use USER_PATH instead of directly using USER_NAME --- build_keyboard.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_keyboard.mk b/build_keyboard.mk index 4781f4a5d1..b25712385c 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -210,8 +210,8 @@ endif USER_PATH := users/$(USER_NAME) -include $(USER_PATH)/rules.mk -ifneq ("$(wildcard users/$(KEYMAP)/config.h)","") - CONFIG_H += users/$(KEYMAP)/config.h +ifneq ("$(wildcard $(USER_PATH)/config.h)","") + CONFIG_H += $(USER_PATH)/config.h endif