summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-14 16:31:32 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-14 16:33:24 (EDT)
commit3d31badc49718eda77017088648668ea2aae5e36 (patch)
tree2481523c8296b6674e1b27496d5f94f112967817
parente7127277ef4b278e0ac0198adad43d6c37433a00 (diff)
build: Allow local macro overrides.
-rw-r--r--.gitignore3
-rwxr-xr-xbuild5
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3f1bdcb..9a7f8c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,5 +14,8 @@ gcc-*-*-*-*.pkg/
g++-*-*-*-*.pkg/
targets.mk
+# Local macro overrides
+local.mk
+
# Work area
tmp/
diff --git a/build b/build
index 5abd464..b3ddb82 100755
--- a/build
+++ b/build
@@ -53,9 +53,14 @@ bootstrap1_opts = \
--disable-libmudflap \
--disable-libssp
+include ../local.mk
+
nop:
@:
+../local.mk:
+ >../local.mk
+
$(configure_targets):
if [ 'x$(OPK_HOST_PLAT)' = 'xbootstrap1' ]; then \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \