]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Import userspace config.h according to USER_NAME (#2983)
authorWillyPillow <WillyPillow@users.noreply.github.com>
Tue, 22 May 2018 19:47:28 +0000 (03:47 +0800)
committerDrashna Jaelre <drashna@live.com>
Tue, 22 May 2018 19:47:28 +0000 (12:47 -0700)
* Import userspace config.h according to USER_NAME

* Use USER_PATH instead of directly using USER_NAME

build_keyboard.mk

index 4781f4a5d1946cf9d77033dcd9904d1f7fb20c16..b25712385c6dba7088b3313efa97fddbb1415ebb 100644 (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