From: WillyPillow Date: Tue, 22 May 2018 19:47:28 +0000 (+0800) Subject: Import userspace config.h according to USER_NAME (#2983) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=508801c948b0d4a8b7ea727ce5c3a6ab393d7dc6;p=qmk_firmware.git 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 --- diff --git a/build_keyboard.mk b/build_keyboard.mk index 4781f4a5d..b25712385 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