view download.sh @ 39:c12b04caa0c1

Apparently, the exit value of a successful build is 1 because [ $? -ne 0 ] is the last command run. Add an echo.
author Rob Landley <rob@landley.net>
date Tue, 12 Dec 2006 22:01:52 -0500
parents 11c23ebe3bf0
children 3baa8ab7ee6d
line wrap: on
line source

#!/bin/sh

NO_ARCH=none
source include.sh

# Download everything we haven't already got a copy of.

echo "=== Download source code." &&

# Required for cross compile toolchain

URL=http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.1.tar.bz2 \
SHA1=a373be93fcb55b97a5b96a422f690edafeff1de4 \
download &&

URL=http://www.uclibc.org/downloads/snapshots/uClibc-20061128.tar.bz2 \
SHA1=50c024ac137262981348ad54e0f64d83db1bce4e \
download &&

URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \
SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
download &&

URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-core-4.1.1.tar.bz2 \
SHA1=147e12bf96a8d857fda1d43f0d7ea599b89cebf9 \
download &&

# Ye olde emulator

URL=http://qemu.org/qemu-0.8.2.tar.gz \
SHA1=d775239a545e7d0c5b677660a2122df590afde6d \
download &&

# Required for native build environment

URL=http://superb-east.dl.sourceforge.net/sourceforge/squashfs/squashfs3.1.tar.gz \
SHA1=89d537fd18190402ff226ff885ddbc14f6227a9b \
download &&

URL=http://www.busybox.net/downloads/busybox-1.2.2.tar.bz2 \
SHA1=59670600121c9dacfd61e72e34f4bd975ec2c36f \
download &&

URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \
SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \
download &&

echo === Got all source.