comparison build.sh @ 1028:5897a868313e

Jean-Christophe Dubois pointed out that if build.sh doesn't source config, it doesn't get things like NO_NATIVE_COMPILER.
author Rob Landley <rob@landley.net>
date Mon, 05 Apr 2010 18:39:09 -0500
parents 48784ae8533e
children a5b0f0a11792
comparison
equal deleted inserted replaced
1027:ac61473c45e8 1028:5897a868313e
9 echo "Usage: $0 ARCH" 9 echo "Usage: $0 ARCH"
10 . sources/include.sh 10 . sources/include.sh
11 read_arch_dir 11 read_arch_dir
12 fi 12 fi
13 ARCH="$1" 13 ARCH="$1"
14
15 [ -e config ] && source config
14 16
15 [ -z "$BUILD" ] && BUILD="build" 17 [ -z "$BUILD" ] && BUILD="build"
16 18
17 # A function to skip stages that have already been done (because the 19 # A function to skip stages that have already been done (because the
18 # tarball they create is already there). 20 # tarball they create is already there).