Skip to content

Commit

Permalink
Import userspace config.h according to USER_NAME (#2983)
Browse files Browse the repository at this point in the history
* Import userspace config.h according to USER_NAME

* Use USER_PATH instead of directly using USER_NAME
  • Loading branch information
WillyPillow authored and drashna committed May 22, 2018
1 parent 7658f10 commit 508801c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_keyboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 508801c

Please sign in to comment.