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:
parent
7658f10fba
commit
508801c948
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue