aboutsummaryrefslogtreecommitdiffstats
path: root/src/.gitignore
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2008-06-04 20:56:20 +0100
committerMichael Brown <mcb30@etherboot.org>2008-06-05 00:45:33 +0100
commitf866b179988f686ae90c197f0270a922ddebf718 (patch)
tree96bfecf701fd7d5f4011bf462635622269087b88 /src/.gitignore
parent842165ef7624f20b85e58f3d9c56d9110be0ae15 (diff)
downloadipxe-f866b179988f686ae90c197f0270a922ddebf718.tar.gz
[util] config-local.h to avoid accidental commits
During development it is often handy to change the config.h options from their defaults, for example to enable debugging features. To prevent accidental commits of debugging config.h changes, mdc suggested having a config-local.h that is excluded from source control. This file acts as a temporary config.h and can override any of the defaults. This commit is an attempt to implement the config-local.h feature. The config.h file now has the following as its last line: /* @TRYSOURCE config-local.h */ The @TRYSOURCE directive causes config-local.h to be included at that point in the file. If config-local.h does not exist, no error will be printed and parsing will continue as normal. Therefore, mkconfig.pl is "trying" to "source" config-local.h.
Diffstat (limited to 'src/.gitignore')
-rw-r--r--src/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index cc8e33e2..413f8141 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -2,3 +2,4 @@
.echocheck
TAGS*
bin*
+config-local.h