~ruther/qmk_firmware

508801c948b0d4a8b7ea727ce5c3a6ab393d7dc6 — WillyPillow 7 years ago 7658f10
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
1 files changed, 2 insertions(+), 2 deletions(-)

M build_keyboard.mk
M build_keyboard.mk => build_keyboard.mk +2 -2
@@ 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