From 46d6ec7d77a041d8266d0d9811f57ba92e86599e Mon Sep 17 00:00:00 2001 From: Piotr JaroszyƄski Date: Mon, 22 Mar 2010 23:19:00 +0100 Subject: [build] Add support for local configuration files Include config/local/$file in config/$file where it makes sense and create empty local configs during build if not present. Modified-by: Michael Brown Signed-off-by: Michael Brown --- src/Makefile.housekeeping | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Makefile.housekeeping') diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 7e7ad762..c373c882 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -468,7 +468,7 @@ define src_template @$(RM) $(2) @$(TOUCH) $(2) @$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) -DOBJECT=$(4) \ - -Wno-error -MM $(1) -MG -MP | \ + -Wno-error -M $(1) -MG -MP | \ sed 's/\.o\s*:/_DEPS =/' >> $(2) @$(ECHO_E) '\n$$(BIN)/$(4).o :' \ '$(1) $$(MAKEDEPS) $$(POST_O_DEPS) $$($(4)_DEPS)' \ @@ -921,6 +921,13 @@ $(ICCFIX) : util/iccfix.c $(MAKEDEPS) $(Q)$(HOST_CC) -idirafter include -O2 -o $@ $< CLEANUP += $(ICCFIX) +############################################################################### +# +# Local configs +# +config/local/%.h : + $(Q)touch $@ + ############################################################################### # # Auto-incrementing build serial number. Append "bs" to your list of -- cgit v1.2.3-55-g7522