mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-11 02:59:09 +00:00
[Jack & Erez] Adds an option for user-specific config.h files
This commit is contained in:
parent
f293bf2340
commit
8ffc73fcbd
1 changed files with 9 additions and 0 deletions
|
@ -142,6 +142,9 @@ CFLAGS += $(CSTANDARD)
|
||||||
ifdef CONFIG_H
|
ifdef CONFIG_H
|
||||||
CFLAGS += -include $(CONFIG_H)
|
CFLAGS += -include $(CONFIG_H)
|
||||||
endif
|
endif
|
||||||
|
ifdef CONFIG_USER_H
|
||||||
|
CFLAGS += -include $(CONFIG_USER_H)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
#---------------- Compiler Options C++ ----------------
|
#---------------- Compiler Options C++ ----------------
|
||||||
|
@ -176,6 +179,9 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
|
||||||
ifdef CONFIG_H
|
ifdef CONFIG_H
|
||||||
CPPFLAGS += -include $(CONFIG_H)
|
CPPFLAGS += -include $(CONFIG_H)
|
||||||
endif
|
endif
|
||||||
|
ifdef CONFIG_USER_H
|
||||||
|
CPPFLAGS += -include $(CONFIG_USER_H)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
#---------------- Assembler Options ----------------
|
#---------------- Assembler Options ----------------
|
||||||
|
@ -192,6 +198,9 @@ ASFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
|
||||||
ifdef CONFIG_H
|
ifdef CONFIG_H
|
||||||
ASFLAGS += -include $(CONFIG_H)
|
ASFLAGS += -include $(CONFIG_H)
|
||||||
endif
|
endif
|
||||||
|
ifdef CONFIG_USER_H
|
||||||
|
ASFLAGS += -include $(CONFIG_USER_H)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
#---------------- Library Options ----------------
|
#---------------- Library Options ----------------
|
||||||
|
|
Loading…
Reference in a new issue