Mercurial > hg > aboriginal
annotate download.sh @ 66:57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
libc.so linker script. Add strace to download list because it's likely to
come in handy soon.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 27 Dec 2006 22:32:40 -0500 |
parents | 6d6551a37687 |
children | 5703436a408e |
rev | line source |
---|---|
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 #!/bin/sh |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
34
ad1cfcb043c7
Cleaup pass: Break out shell functions and variable definitions into include.sh.
Rob Landley <rob@landley.net>
parents:
32
diff
changeset
|
3 NO_ARCH=none |
ad1cfcb043c7
Cleaup pass: Break out shell functions and variable definitions into include.sh.
Rob Landley <rob@landley.net>
parents:
32
diff
changeset
|
4 source include.sh |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 |
49 | 6 # Dark blue |
7 echo -e "\e[34m" | |
8 | |
34
ad1cfcb043c7
Cleaup pass: Break out shell functions and variable definitions into include.sh.
Rob Landley <rob@landley.net>
parents:
32
diff
changeset
|
9 # Download everything we haven't already got a copy of. |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 echo "=== Download source code." && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 |
11
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
13 # Required for cross compile toolchain |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 |
37
11c23ebe3bf0
Update to 2.6.19.1 kernel. (Hopefully this fixes the network defines in
Rob Landley <rob@landley.net>
parents:
36
diff
changeset
|
15 URL=http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.1.tar.bz2 \ |
11c23ebe3bf0
Update to 2.6.19.1 kernel. (Hopefully this fixes the network defines in
Rob Landley <rob@landley.net>
parents:
36
diff
changeset
|
16 SHA1=a373be93fcb55b97a5b96a422f690edafeff1de4 \ |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 download && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 |
41 | 19 URL=http://www.uclibc.org/downloads/snapshots/uClibc-20061214.tar.bz2 \ |
20 SHA1= \ | |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 download && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 download && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
26 |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
27 URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-core-4.1.1.tar.bz2 \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
28 SHA1=147e12bf96a8d857fda1d43f0d7ea599b89cebf9 \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 download && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 |
32
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
31 # Ye olde emulator |
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
32 |
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
33 URL=http://qemu.org/qemu-0.8.2.tar.gz \ |
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
34 SHA1=d775239a545e7d0c5b677660a2122df590afde6d \ |
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
35 download && |
877349490008
Add qemu to the list of downloaded source code.
Rob Landley <rob@landley.net>
parents:
25
diff
changeset
|
36 |
11
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
37 # Required for native build environment |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
38 |
45 | 39 URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-g++-4.1.1.tar.bz2 \ |
40 SHA1=909672543af9a7b88898cd256e25ccd4a9f009b1 && | |
41 download && | |
42 | |
11
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
43 URL=http://superb-east.dl.sourceforge.net/sourceforge/squashfs/squashfs3.1.tar.gz \ |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
44 SHA1=89d537fd18190402ff226ff885ddbc14f6227a9b \ |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
45 download && |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
46 |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
47 URL=http://www.busybox.net/downloads/busybox-1.2.2.tar.bz2 \ |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
48 SHA1=59670600121c9dacfd61e72e34f4bd975ec2c36f \ |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
49 download && |
1b1de34e3122
Teach the download script to make symlinks, and update kernel to 2.6.19.
Rob Landley <rob@landley.net>
parents:
10
diff
changeset
|
50 |
10
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
51 URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
52 SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \ |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
53 download && |
7a1c606fd387
Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
54 |
52
6d6551a37687
Add make to mini-native (required one more option switched on in uClibc), add
Rob Landley <rob@landley.net>
parents:
49
diff
changeset
|
55 URL=http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz \ |
6d6551a37687
Add make to mini-native (required one more option switched on in uClibc), add
Rob Landley <rob@landley.net>
parents:
49
diff
changeset
|
56 SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \ |
6d6551a37687
Add make to mini-native (required one more option switched on in uClibc), add
Rob Landley <rob@landley.net>
parents:
49
diff
changeset
|
57 download && |
6d6551a37687
Add make to mini-native (required one more option switched on in uClibc), add
Rob Landley <rob@landley.net>
parents:
49
diff
changeset
|
58 |
66
57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
52
diff
changeset
|
59 URL=http://superb-east.dl.sourceforge.net/sourceforge/strace/strace-4.5.14.tar.bz2 \ |
57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
52
diff
changeset
|
60 SHA1= \ |
57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
52
diff
changeset
|
61 download && |
57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
52
diff
changeset
|
62 |
57f77c25b39d
Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
52
diff
changeset
|
63 |
41 | 64 echo === Got all source. && |
65 | |
66 cleanup_oldfiles | |
67 | |
49 | 68 # Set color back to normal. |
69 echo -e "\e[0m" |