Mercurial > hg > aboriginal
changeset 645:555a4cc67438
Reorder download entries into groups, add comments, add squashfs, bump qemu version.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 24 Mar 2009 16:10:00 -0500 |
parents | 29e4fdad2b11 |
children | 0f8659ab466f |
files | download.sh |
diffstat | 1 files changed, 46 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/download.sh Tue Mar 24 15:55:22 2009 -0500 +++ b/download.sh Tue Mar 24 16:10:00 2009 -0500 @@ -23,7 +23,9 @@ # a new version of a file, set SHA1= and update the URL, run ./download.sh, # then cut and paste the sha1 from the output and run it again to confirm. -# Required for cross compile toolchain +# Building a cross compile toolchain requires linux headers, uClibc, +# binutils, and gcc. + URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \ SHA1=0640a2f4bea3fc272541f322b74ea365ad7f2349 \ download || dienow @@ -33,11 +35,15 @@ UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \ download || dienow +# 2.17 was the last GPLv2 release of binutils + URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \ SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \ UNSTABLE=ftp://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 \ download || dienow +# 4.2.1 was the last GPLv2 release of gcc + URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \ SHA1=d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 \ UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \ @@ -48,11 +54,9 @@ UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \ download || dienow -URL=http://impactlinux.com/code/toybox/downloads/toybox-0.0.9.tar.bz2 \ -SHA1=a3aed07694149c6582a78cf6de4dfcff0383c9d5 \ -download || dienow - -# Required for native build environment +# Building a native root filesystem requires linux and uClibc (above) plus +# BusyBox. Adding a native toolchain requires binutils and gcc (above) plus +# make and bash. URL=http://www.busybox.net/downloads/busybox-1.13.3.tar.bz2 \ SHA1=364eefc4ff73613db530518e9882fdf66a694294 \ @@ -63,24 +67,24 @@ SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \ download || dienow +# This version of bash is ancient, but it provides everything most package +# builds need and is less than half the size of current versions. Eventually, +# either busybox ash or toysh should grow enough features to replace bash. + URL=http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz \ SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \ download || dienow +# These are optional parts of the native root filesystem. + +URL=http://impactlinux.com/code/toybox/downloads/toybox-0.0.9.tar.bz2 \ +SHA1=a3aed07694149c6582a78cf6de4dfcff0383c9d5 \ +download || dienow + URL=http://cxx.uclibc.org/src/uClibc++-0.2.2.tar.bz2 \ SHA1=f5582d206378d7daee6f46609c80204c1ad5c0f7 \ download || dienow -# Optional but nice - -URL=http://downloads.sourceforge.net/genext2fs/genext2fs-1.4.1.tar.gz && -SHA1=9ace486ee1bad0a49b02194515e42573036f7392 \ -download || dienow - -URL=http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.4.tar.gz \ -SHA1=55da145bce7b024ab609aa4a6fc8be81a2bb3490 \ -download || dienow - URL=http://distcc.googlecode.com/files/distcc-3.1.tar.bz2 \ SHA1=30663e8ff94f13c0553fbfb928adba91814e1b3a \ download || dienow @@ -89,9 +93,33 @@ SHA1=50081a7201dc240299396f088abe53c07de98e4c \ download || dienow +# The following packages are built and run on the host only. (host-tools.sh +# also builds host versions of many packages in the native root filesystem, +# but the following packages are not cross compiled for the target, and thus +# do not wind up in the system image.) + +if [ ! -z "$BUILD_HOST_EXTRA" ] +then + URL=http://download.savannah.nongnu.org/releases/qemu/qemu-0.10.1.tar.gz \ + SHA1=d1cafd4751e4feee606feb844dec4762713b2b69 \ + download || dienow +fi + +URL=http://downloads.sourceforge.net/genext2fs/genext2fs-1.4.1.tar.gz && +SHA1=9ace486ee1bad0a49b02194515e42573036f7392 \ +download || dienow + +URL=http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.4.tar.gz \ +SHA1=55da145bce7b024ab609aa4a6fc8be81a2bb3490 \ +download || dienow + +URL=http://downloads.sourceforge.net/squashfs/squashfs3.4.tar.gz \ +SHA1=6933a8f3098d94f93ec4002a54026b15a6e11640 \ +download || dienow + +# Todo: + # ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2 -# http://tinderbox.dev.gentoo.org/portage/scripts/bootstrap.sh -# http://cxx.uclibc.org/src/uClibc++-0.2.1.tar.bz2 echo === Got all source.