diff options
| -rw-r--r-- | tmk_core/rules.mk | 9 |
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) | |||
| 142 | ifdef CONFIG_H | 142 | ifdef CONFIG_H |
| 143 | CFLAGS += -include $(CONFIG_H) | 143 | CFLAGS += -include $(CONFIG_H) |
| 144 | endif | 144 | endif |
| 145 | ifdef CONFIG_USER_H | ||
| 146 | CFLAGS += -include $(CONFIG_USER_H) | ||
| 147 | endif | ||
| 145 | 148 | ||
| 146 | 149 | ||
| 147 | #---------------- Compiler Options C++ ---------------- | 150 | #---------------- Compiler Options C++ ---------------- |
| @@ -176,6 +179,9 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) | |||
| 176 | ifdef CONFIG_H | 179 | ifdef CONFIG_H |
| 177 | CPPFLAGS += -include $(CONFIG_H) | 180 | CPPFLAGS += -include $(CONFIG_H) |
| 178 | endif | 181 | endif |
| 182 | ifdef CONFIG_USER_H | ||
| 183 | CPPFLAGS += -include $(CONFIG_USER_H) | ||
| 184 | endif | ||
| 179 | 185 | ||
| 180 | 186 | ||
| 181 | #---------------- Assembler Options ---------------- | 187 | #---------------- Assembler Options ---------------- |
| @@ -192,6 +198,9 @@ ASFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) | |||
| 192 | ifdef CONFIG_H | 198 | ifdef CONFIG_H |
| 193 | ASFLAGS += -include $(CONFIG_H) | 199 | ASFLAGS += -include $(CONFIG_H) |
| 194 | endif | 200 | endif |
| 201 | ifdef CONFIG_USER_H | ||
| 202 | ASFLAGS += -include $(CONFIG_USER_H) | ||
| 203 | endif | ||
| 195 | 204 | ||
| 196 | 205 | ||
| 197 | #---------------- Library Options ---------------- | 206 | #---------------- Library Options ---------------- |
