summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorPiotr JaroszyƄski2010-03-22 23:19:00 +0100
committerMichael Brown2010-03-26 20:07:22 +0100
commit46d6ec7d77a041d8266d0d9811f57ba92e86599e (patch)
tree9dee1e363ca6028070c28d4ced6565b48edf3240 /src/Makefile.housekeeping
parent[pxe] Remove pxe_set_cached_filename() (diff)
downloadipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.tar.gz
ipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.tar.xz
ipxe-46d6ec7d77a041d8266d0d9811f57ba92e86599e.zip
[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 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)' \
@@ -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.