view build.sh @ 126:f4b9df875c0e

Added tag 0.2.0 for changeset 2dd9f480ff4e
author Rob Landley <rob@landley.net>
date Tue, 06 Mar 2007 15:09:18 -0500
parents 85582f847bd6
children ce1ca3d0f95b
line wrap: on
line source

#!/bin/bash

# If run with no arguments, list architectures.

if [ $# -eq 0 ]
then
  echo "Usage: $0 ARCH [ARCH...]"
  ./include.sh
  exit 1
fi

# Download source code and build host tools.

./download.sh || exit 1
./host-tools.sh || exit 1

# Run the steps in order for each architecture listed on the command line
for i in "$@"
do
  echo "=== Building ARCH $i"
  ./cross-compiler.sh $i || exit 1
  ./mini-native.sh $i || exit 1
  ./package-mini-native.sh $i || exit 1
done