changeset 261:0f962b5609c3

Minor clarification.
author Rob Landley <rob@landley.net>
date Fri, 25 Jan 2008 03:10:11 -0600
parents 668e4460abca
children b2e353ae7566
files include.sh
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include.sh	Fri Jan 25 03:03:00 2008 -0600
+++ b/include.sh	Fri Jan 25 03:10:11 2008 -0600
@@ -225,7 +225,6 @@
 export FROMSRC=../packages
 export BUILD="${TOP}/build"
 export HOSTTOOLS="${BUILD}/host"
-export WORK="${BUILD}/host-temp"
 export PATH="${HOSTTOOLS}:$PATH"
 mkdir -p "${SRCDIR}"
 
@@ -281,8 +280,10 @@
   emulator_command image-$ARCH.ext2 zImage-$ARCH \
     "rw init=/tools/bin/sh panic=1 PATH=/tools/bin" > "$BUILD/run-$ARCH.sh" &&
   chmod +x "$BUILD/run-$ARCH.sh"
+else
+  export WORK="${BUILD}/host-temp"
+  mkdir -p "${WORK}"
 fi
-mkdir -p "${WORK}"
 
 [ -z "$CLEANUP" ] && CLEANUP="rm -rf"
 [ -z "$CC" ] && CC=gcc