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
pull/3023/head 0.6.40
WillyPillow 7 years ago committed by Drashna Jaelre
parent 7658f10fba
commit 508801c948

@ -210,8 +210,8 @@ endif
USER_PATH := users/$(USER_NAME) USER_PATH := users/$(USER_NAME)
-include $(USER_PATH)/rules.mk -include $(USER_PATH)/rules.mk
ifneq ("$(wildcard users/$(KEYMAP)/config.h)","") ifneq ("$(wildcard $(USER_PATH)/config.h)","")
CONFIG_H += users/$(KEYMAP)/config.h CONFIG_H += $(USER_PATH)/config.h
endif endif

Loading…
Cancel
Save