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
This commit is contained in:
WillyPillow 2018-05-23 03:47:28 +08:00 committed by Drashna Jaelre
parent 7658f10fba
commit 508801c948

View File

@ -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