aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorPiotr JaroszyƄski <p.jaroszynski@gmail.com>2010-03-22 23:19:00 +0100
committerMichael Brown <mcb30@etherboot.org>2010-03-26 19:07:22 +0000
commit46d6ec7d77a041d8266d0d9811f57ba92e86599e (patch)
tree9dee1e363ca6028070c28d4ced6565b48edf3240 /src/Makefile.housekeeping
parent80d1ac7320f597b4c981dfdeb19d8e88eb85ca69 (diff)
downloadipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.zip
ipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.tar.gz
ipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.tar.bz2
[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 <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 7e7ad76..c373c88 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)' \
@@ -923,6 +923,13 @@ CLEANUP += $(ICCFIX)
###############################################################################
#
+# Local configs
+#
+config/local/%.h :
+ $(Q)touch $@
+
+###############################################################################
+#
# Auto-incrementing build serial number. Append "bs" to your list of
# build targets to get a serial number printed at the end of the
# build. Enable -DBUILD_SERIAL in order to see it when the code runs.