From 3d31badc49718eda77017088648668ea2aae5e36 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Fri, 14 Jun 2013 16:31:32 -0400
Subject: build: Allow local macro overrides.

---
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)" -- \
--
cgit v0.9.1