aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmk_core/rules.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index 860fc1a93..69c7985b4 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -142,6 +142,9 @@ CFLAGS += $(CSTANDARD)
142ifdef CONFIG_H 142ifdef CONFIG_H
143 CFLAGS += -include $(CONFIG_H) 143 CFLAGS += -include $(CONFIG_H)
144endif 144endif
145ifdef CONFIG_USER_H
146 CFLAGS += -include $(CONFIG_USER_H)
147endif
145 148
146 149
147#---------------- Compiler Options C++ ---------------- 150#---------------- Compiler Options C++ ----------------
@@ -176,6 +179,9 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
176ifdef CONFIG_H 179ifdef CONFIG_H
177 CPPFLAGS += -include $(CONFIG_H) 180 CPPFLAGS += -include $(CONFIG_H)
178endif 181endif
182ifdef CONFIG_USER_H
183 CPPFLAGS += -include $(CONFIG_USER_H)
184endif
179 185
180 186
181#---------------- Assembler Options ---------------- 187#---------------- Assembler Options ----------------
@@ -192,6 +198,9 @@ ASFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
192ifdef CONFIG_H 198ifdef CONFIG_H
193 ASFLAGS += -include $(CONFIG_H) 199 ASFLAGS += -include $(CONFIG_H)
194endif 200endif
201ifdef CONFIG_USER_H
202 ASFLAGS += -include $(CONFIG_USER_H)
203endif
195 204
196 205
197#---------------- Library Options ---------------- 206#---------------- Library Options ----------------