summaryrefslogtreecommitdiffstats
path: root/src/.gitignore
diff options
context:
space:
mode:
authorStefan Hajnoczi2008-06-04 21:56:20 +0200
committerMichael Brown2008-06-05 01:45:33 +0200
commitf866b179988f686ae90c197f0270a922ddebf718 (patch)
tree96bfecf701fd7d5f4011bf462635622269087b88 /src/.gitignore
parent[GDBSYM] Remove unused gdbsym.c (diff)
downloadipxe-f866b179988f686ae90c197f0270a922ddebf718.tar.gz
ipxe-f866b179988f686ae90c197f0270a922ddebf718.tar.xz
ipxe-f866b179988f686ae90c197f0270a922ddebf718.zip
[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