Mercurial > hg > aboriginal
comparison download.sh @ 799:2ba6cce8c294
Better documentation for ./download.sh --extract
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 09 Aug 2009 01:06:26 -0500 |
parents | 221b0e3cd8fd |
children | d3b42dfc4d40 |
comparison
equal
deleted
inserted
replaced
798:2c9f22daa8fe | 799:2ba6cce8c294 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Download everything we haven't already got a copy of. | 3 # Download everything we haven't already got a copy of. |
4 | 4 |
5 # Use "./download.sh --extract" to extract all tarballs. | 5 # The tarball extraction in setupfor doesn't parallelize well, so if |
6 # you're going to run multiple builds at once call "./download.sh --extract" | |
7 # to extract and patch all tarballs up front, to avoid collisions. | |
6 | 8 |
7 [ "$1" == "--extract" ] && EXTRACT_ALL=yes | 9 [ "$1" == "--extract" ] && EXTRACT_ALL=yes |
8 | 10 |
9 source sources/include.sh || exit 1 | 11 source sources/include.sh || exit 1 |
10 | 12 |
27 # Building a cross compile toolchain requires linux headers, uClibc, | 29 # Building a cross compile toolchain requires linux headers, uClibc, |
28 # binutils, and gcc. | 30 # binutils, and gcc. |
29 | 31 |
30 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2 \ | 32 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2 \ |
31 SHA1=5fb7f2ccdc59c57887d586971a157bee7af324d1 \ | 33 SHA1=5fb7f2ccdc59c57887d586971a157bee7af324d1 \ |
32 UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.30-rc7.tar.bz2 \ | 34 UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.31-rc5.tar.bz2 \ |
33 download || dienow | 35 download || dienow |
34 | 36 |
35 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \ | 37 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \ |
36 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \ | 38 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \ |
37 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \ | 39 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \ |