Mercurial > hg > aboriginal
comparison download.sh @ 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 | 6886c9fcb89b |
comparison
equal
deleted
inserted
replaced
644:29e4fdad2b11 | 645:555a4cc67438 |
---|---|
21 # Note: a blank SHA1 value means accept anything, and the download script | 21 # Note: a blank SHA1 value means accept anything, and the download script |
22 # prints out the sha1 of such files after downloading it, so to update to | 22 # prints out the sha1 of such files after downloading it, so to update to |
23 # a new version of a file, set SHA1= and update the URL, run ./download.sh, | 23 # a new version of a file, set SHA1= and update the URL, run ./download.sh, |
24 # then cut and paste the sha1 from the output and run it again to confirm. | 24 # then cut and paste the sha1 from the output and run it again to confirm. |
25 | 25 |
26 # Required for cross compile toolchain | 26 # Building a cross compile toolchain requires linux headers, uClibc, |
27 # binutils, and gcc. | |
28 | |
27 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \ | 29 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \ |
28 SHA1=0640a2f4bea3fc272541f322b74ea365ad7f2349 \ | 30 SHA1=0640a2f4bea3fc272541f322b74ea365ad7f2349 \ |
29 download || dienow | 31 download || dienow |
30 | 32 |
31 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \ | 33 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \ |
32 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \ | 34 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \ |
33 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \ | 35 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \ |
34 download || dienow | 36 download || dienow |
35 | 37 |
38 # 2.17 was the last GPLv2 release of binutils | |
39 | |
36 URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \ | 40 URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \ |
37 SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \ | 41 SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \ |
38 UNSTABLE=ftp://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 \ | 42 UNSTABLE=ftp://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 \ |
39 download || dienow | 43 download || dienow |
44 | |
45 # 4.2.1 was the last GPLv2 release of gcc | |
40 | 46 |
41 URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \ | 47 URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \ |
42 SHA1=d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 \ | 48 SHA1=d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 \ |
43 UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \ | 49 UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \ |
44 download || dienow | 50 download || dienow |
46 URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \ | 52 URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \ |
47 SHA1=e29c6e151050f8b5ac5d680b99483df522606143 \ | 53 SHA1=e29c6e151050f8b5ac5d680b99483df522606143 \ |
48 UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \ | 54 UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \ |
49 download || dienow | 55 download || dienow |
50 | 56 |
51 URL=http://impactlinux.com/code/toybox/downloads/toybox-0.0.9.tar.bz2 \ | 57 # Building a native root filesystem requires linux and uClibc (above) plus |
52 SHA1=a3aed07694149c6582a78cf6de4dfcff0383c9d5 \ | 58 # BusyBox. Adding a native toolchain requires binutils and gcc (above) plus |
53 download || dienow | 59 # make and bash. |
54 | |
55 # Required for native build environment | |
56 | 60 |
57 URL=http://www.busybox.net/downloads/busybox-1.13.3.tar.bz2 \ | 61 URL=http://www.busybox.net/downloads/busybox-1.13.3.tar.bz2 \ |
58 SHA1=364eefc4ff73613db530518e9882fdf66a694294 \ | 62 SHA1=364eefc4ff73613db530518e9882fdf66a694294 \ |
59 UNSTABLE=http://busybox.net/downloads/busybox-snapshot.tar.bz2 \ | 63 UNSTABLE=http://busybox.net/downloads/busybox-snapshot.tar.bz2 \ |
60 download || dienow | 64 download || dienow |
61 | 65 |
62 URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \ | 66 URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \ |
63 SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \ | 67 SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \ |
64 download || dienow | 68 download || dienow |
65 | 69 |
70 # This version of bash is ancient, but it provides everything most package | |
71 # builds need and is less than half the size of current versions. Eventually, | |
72 # either busybox ash or toysh should grow enough features to replace bash. | |
73 | |
66 URL=http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz \ | 74 URL=http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz \ |
67 SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \ | 75 SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \ |
68 download || dienow | 76 download || dienow |
69 | 77 |
78 # These are optional parts of the native root filesystem. | |
79 | |
80 URL=http://impactlinux.com/code/toybox/downloads/toybox-0.0.9.tar.bz2 \ | |
81 SHA1=a3aed07694149c6582a78cf6de4dfcff0383c9d5 \ | |
82 download || dienow | |
83 | |
70 URL=http://cxx.uclibc.org/src/uClibc++-0.2.2.tar.bz2 \ | 84 URL=http://cxx.uclibc.org/src/uClibc++-0.2.2.tar.bz2 \ |
71 SHA1=f5582d206378d7daee6f46609c80204c1ad5c0f7 \ | 85 SHA1=f5582d206378d7daee6f46609c80204c1ad5c0f7 \ |
72 download || dienow | |
73 | |
74 # Optional but nice | |
75 | |
76 URL=http://downloads.sourceforge.net/genext2fs/genext2fs-1.4.1.tar.gz && | |
77 SHA1=9ace486ee1bad0a49b02194515e42573036f7392 \ | |
78 download || dienow | |
79 | |
80 URL=http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.4.tar.gz \ | |
81 SHA1=55da145bce7b024ab609aa4a6fc8be81a2bb3490 \ | |
82 download || dienow | 86 download || dienow |
83 | 87 |
84 URL=http://distcc.googlecode.com/files/distcc-3.1.tar.bz2 \ | 88 URL=http://distcc.googlecode.com/files/distcc-3.1.tar.bz2 \ |
85 SHA1=30663e8ff94f13c0553fbfb928adba91814e1b3a \ | 89 SHA1=30663e8ff94f13c0553fbfb928adba91814e1b3a \ |
86 download || dienow | 90 download || dienow |
87 | 91 |
88 URL=http://downloads.sourceforge.net/sourceforge/strace/strace-4.5.18.tar.bz2 \ | 92 URL=http://downloads.sourceforge.net/sourceforge/strace/strace-4.5.18.tar.bz2 \ |
89 SHA1=50081a7201dc240299396f088abe53c07de98e4c \ | 93 SHA1=50081a7201dc240299396f088abe53c07de98e4c \ |
90 download || dienow | 94 download || dienow |
91 | 95 |
96 # The following packages are built and run on the host only. (host-tools.sh | |
97 # also builds host versions of many packages in the native root filesystem, | |
98 # but the following packages are not cross compiled for the target, and thus | |
99 # do not wind up in the system image.) | |
100 | |
101 if [ ! -z "$BUILD_HOST_EXTRA" ] | |
102 then | |
103 URL=http://download.savannah.nongnu.org/releases/qemu/qemu-0.10.1.tar.gz \ | |
104 SHA1=d1cafd4751e4feee606feb844dec4762713b2b69 \ | |
105 download || dienow | |
106 fi | |
107 | |
108 URL=http://downloads.sourceforge.net/genext2fs/genext2fs-1.4.1.tar.gz && | |
109 SHA1=9ace486ee1bad0a49b02194515e42573036f7392 \ | |
110 download || dienow | |
111 | |
112 URL=http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.4.tar.gz \ | |
113 SHA1=55da145bce7b024ab609aa4a6fc8be81a2bb3490 \ | |
114 download || dienow | |
115 | |
116 URL=http://downloads.sourceforge.net/squashfs/squashfs3.4.tar.gz \ | |
117 SHA1=6933a8f3098d94f93ec4002a54026b15a6e11640 \ | |
118 download || dienow | |
119 | |
120 # Todo: | |
121 | |
92 # ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2 | 122 # ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2 |
93 # http://tinderbox.dev.gentoo.org/portage/scripts/bootstrap.sh | |
94 # http://cxx.uclibc.org/src/uClibc++-0.2.1.tar.bz2 | |
95 | 123 |
96 echo === Got all source. | 124 echo === Got all source. |
97 | 125 |
98 cleanup_oldfiles | 126 cleanup_oldfiles |
99 | 127 |