changeset 1137:8a0b2268c8ca

Add HOST_EXTRA. Using it is a horrible idea, please don't.
author Rob Landley <rob@landley.net>
date Tue, 22 Jun 2010 17:49:03 -0500
parents fb05d8a5fd77
children 6ad249bd2005
files config host-tools.sh
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config	Tue Jun 22 14:20:26 2010 -0500
+++ b/config	Tue Jun 22 17:49:03 2010 -0500
@@ -128,6 +128,12 @@
 
 # export EXTRACT_ALL=1
 
+# If you build strange things (such as gcc 3.4 with binutils 2.14), you
+# may need extra host binaries added to build/host.  This lets you add them.
+# In general, you don't want to do this.
+
+# export HOST_EXTRA="lex yacc"
+
 # Set this to continue despite failed patches.
 
 # export ALLOW_PATCH_FAILURE=1
--- a/host-tools.sh	Tue Jun 22 14:20:26 2010 -0500
+++ b/host-tools.sh	Tue Jun 22 17:49:03 2010 -0500
@@ -96,7 +96,7 @@
 # instance of these tools that occurs in the $PATH, in order, each in its
 # own fallback directory.
 
-for i in ar as nm cc make ld gcc
+for i in ar as nm cc make ld gcc $HOST_EXTRA
 do
   if [ ! -f "$STAGE_DIR/$i" ]
   then