Explorar o código

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
WillyPillow %!s(int64=7) %!d(string=hai) anos
pai
achega
508801c948
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      build_keyboard.mk

+ 2 - 2
build_keyboard.mk

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