From 68e16df5d75215adbae843cb63c4178f2c65873e Mon Sep 17 00:00:00 2001 From: "tim.newsham" Date: Sat, 3 May 2008 01:44:56 +0000 Subject: [PATCH] - separated config file - added cold as a cmd line option. --- tools/assemv7 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/assemv7 b/tools/assemv7 index c0485ec..ede6708 100755 --- a/tools/assemv7 +++ b/tools/assemv7 @@ -3,12 +3,17 @@ # assemble the sources # -# settings -APOUT=/tmp/apout2.3alpha2/apout -APOUT_ROOT=/tmp/v7 -COLD=1 +# settings; should contain something like: +# APOUT=/tmp/apout2.3alpha2/apout +# APOUT_ROOT=/tmp/v7 +. tools/assemv7.cfg export APOUT_ROOT +COLD=0 +if [ "$1" = "cold" ] ; then + COLD=1 +fi +echo "COLD: $COLD" tools/rebuild