annotate download.sh @ 753:25adf2fe1f86

The unaligned32 fix is in busybox 1.14.1, so bump version in zap patch.
author Rob Landley <rob@landley.net>
date Sun, 21 Jun 2009 19:04:51 -0500
parents 34f9a88336a8
children 89d64cd65563
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
176
9f778e7cd3fd dash->bash and revert to 2.6.20 kernel until arm scsi works under qemu again.
Rob Landley <rob@landley.net>
parents: 169
diff changeset
1 #!/bin/bash
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
744
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
3 # Download everything we haven't already got a copy of.
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
4
260
668e4460abca Switch to 2.6.24 kernel and toybox 0.0.4.
Rob Landley <rob@landley.net>
parents: 224
diff changeset
5 # Use "./download.sh --extract" to extract all tarballs.
668e4460abca Switch to 2.6.24 kernel and toybox 0.0.4.
Rob Landley <rob@landley.net>
parents: 224
diff changeset
6
744
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
7 [ "$1" == "--extract" ] && EXTRACT_ALL=yes
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
8
669
1cf41855bb85 More error checking.
Rob Landley <rob@landley.net>
parents: 657
diff changeset
9 source sources/include.sh || exit 1
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
10
744
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
11 mkdir -p "$SRCDIR" || dienow
168
d7cae31e3876 Update kernel to 2.6.21.
Rob Landley <rob@landley.net>
parents: 166
diff changeset
12
485
b0438691e9e1 Move color selection into ./config. (The default colors don't look great on a white background.)
Rob Landley <rob@landley.net>
parents: 475
diff changeset
13 echo -e "$DOWNLOAD_COLOR"
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
14 echo "=== Download source code."
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
15
582
d66eae57a344 Move mirror list into download.sh.
Rob Landley <rob@landley.net>
parents: 556
diff changeset
16 # List of fallback mirrors for these files
d66eae57a344 Move mirror list into download.sh.
Rob Landley <rob@landley.net>
parents: 556
diff changeset
17
596
c262e2847a28 Upgrade toybox to 0.0.8.
Rob Landley <rob@landley.net>
parents: 582
diff changeset
18 MIRROR_LIST="http://impactlinux.com/firmware/mirror http://landley.net/code/firmware/mirror http://127.0.0.1/code/firmware/mirror"
582
d66eae57a344 Move mirror list into download.sh.
Rob Landley <rob@landley.net>
parents: 556
diff changeset
19
744
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
20 # Note: set SHA1= blank to skip checksum validation.
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
21
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
22 # A blank SHA1 value means accept anything, and the download script
759adf5a0fe9 Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents: 730
diff changeset
23 # prints out the sha1 of such files after downloading it. So to update to
385
4e331a1d678b Upgrade binutils to 2.18 (needed to work around powerpc linking bug in 2.6.26).
Rob Landley <rob@landley.net>
parents: 366
diff changeset
24 # a new version of a file, set SHA1= and update the URL, run ./download.sh,
222
8b0d2080707c Be smarter about extracting tarballs: extract one copy of each tarball
Rob Landley <rob@landley.net>
parents: 211
diff changeset
25 # then cut and paste the sha1 from the output and run it again to confirm.
8b0d2080707c Be smarter about extracting tarballs: extract one copy of each tarball
Rob Landley <rob@landley.net>
parents: 211
diff changeset
26
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
27 # Building a cross compile toolchain requires linux headers, uClibc,
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
28 # binutils, and gcc.
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
29
644
29e4fdad2b11 Update linux and busybox versions.
Rob Landley <rob@landley.net>
parents: 643
diff changeset
30 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \
29e4fdad2b11 Update linux and busybox versions.
Rob Landley <rob@landley.net>
parents: 643
diff changeset
31 SHA1=0640a2f4bea3fc272541f322b74ea365ad7f2349 \
749
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
32 UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.30-rc7.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
33 download || dienow
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
34
631
585c77c9e83f Upgrade to uClibc-0.9.30.1 (and tweak lots of UNSTABLE URLs).
Rob Landley <rob@landley.net>
parents: 622
diff changeset
35 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \
585c77c9e83f Upgrade to uClibc-0.9.30.1 (and tweak lots of UNSTABLE URLs).
Rob Landley <rob@landley.net>
parents: 622
diff changeset
36 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \
431
d1170bea3336 Use nightly busybox and uClibc snapshots for unstable versions (to prepare for automated nightly builds).
Rob Landley <rob@landley.net>
parents: 420
diff changeset
37 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
38 download || dienow
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
39
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
40 # 2.17 was the last GPLv2 release of binutils
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
41
394
f6802733e627 Binutils 2.18 isn't usable under GPLv2 anymore, revert to 2.17.
Rob Landley <rob@landley.net>
parents: 386
diff changeset
42 URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \
f6802733e627 Binutils 2.18 isn't usable under GPLv2 anymore, revert to 2.17.
Rob Landley <rob@landley.net>
parents: 386
diff changeset
43 SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
407
e64eb9ff27b9 Use unstable infrastructure to back off non-unstable kernel to 2.6.25 (where powerpc works) and bring back binutils 2.18 build as unstable version.
Rob Landley <rob@landley.net>
parents: 400
diff changeset
44 UNSTABLE=ftp://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
45 download || dienow
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
46
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
47 # 4.2.1 was the last GPLv2 release of gcc
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
48
749
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
49 URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
50 SHA1=43a138779e053a864bd16dfabcd3ffff04103213 \
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
51 UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
52 download || dienow
106
f38c6dd2aaaa Move to gcc 4.1.2 and update uClibc snapshot.
Rob Landley <rob@landley.net>
parents: 100
diff changeset
53
749
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
54 # The g++ version must match gcc version.
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
55
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
56 URL=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
57 SHA1=8f3785bd0e092f563e14ecd26921cd04275496a6 \
34f9a88336a8 Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
Rob Landley <rob@landley.net>
parents: 744
diff changeset
58 UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
59 download || dienow
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
60
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
61 # Building a native root filesystem requires linux and uClibc (above) plus
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
62 # BusyBox. Adding a native toolchain requires binutils and gcc (above) plus
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
63 # make and bash.
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
64
753
25adf2fe1f86 The unaligned32 fix is in busybox 1.14.1, so bump version in zap patch.
Rob Landley <rob@landley.net>
parents: 749
diff changeset
65 URL=http://www.busybox.net/downloads/busybox-1.14.1.tar.bz2 \
25adf2fe1f86 The unaligned32 fix is in busybox 1.14.1, so bump version in zap patch.
Rob Landley <rob@landley.net>
parents: 749
diff changeset
66 SHA1=5399439c4e17b6995cf3634aa16b3cf2bbe47ec3 \
431
d1170bea3336 Use nightly busybox and uClibc snapshots for unstable versions (to prepare for automated nightly builds).
Rob Landley <rob@landley.net>
parents: 420
diff changeset
67 UNSTABLE=http://busybox.net/downloads/busybox-snapshot.tar.bz2 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
68 download || dienow
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
69
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
70 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
71 SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
72 download || dienow
10
7a1c606fd387 Script to download all the source code needed by the build.
Rob Landley <rob@landley.net>
parents:
diff changeset
73
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
74 # This version of bash is ancient, but it provides everything most package
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
75 # builds need and is less than half the size of current versions. Eventually,
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
76 # either busybox ash or toysh should grow enough features to replace bash.
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
77
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
78 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
79 SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
80 download || dienow
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
81
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
82 # These are optional parts of the native root filesystem.
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
83
715
eec1abee2a3b Upgrade toybox again, one more fiddly little patch bug.
Rob Landley <rob@landley.net>
parents: 707
diff changeset
84 URL=http://impactlinux.com/code/toybox/downloads/toybox-0.0.9.2.tar.bz2 \
eec1abee2a3b Upgrade toybox again, one more fiddly little patch bug.
Rob Landley <rob@landley.net>
parents: 707
diff changeset
85 SHA1=83a8763833abc55f84f8cf1f39cad279bffd1db7 \
674
133eca1561b9 Use toybox 0.0.9.1, with a fix for patch.
Rob Landley <rob@landley.net>
parents: 669
diff changeset
86 UNSTABLE=http://impactlinux.com/fwl/mirror/alt-toybox-0.tar.bz2
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
87 download || dienow
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
88
444
0022aaa9124e Add uClibc++ to download list, minor cleanup.
Rob Landley <rob@landley.net>
parents: 431
diff changeset
89 URL=http://cxx.uclibc.org/src/uClibc++-0.2.2.tar.bz2 \
0022aaa9124e Add uClibc++ to download list, minor cleanup.
Rob Landley <rob@landley.net>
parents: 431
diff changeset
90 SHA1=f5582d206378d7daee6f46609c80204c1ad5c0f7 \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
91 download || dienow
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
92
620
9dd37018e9f2 Update distcc to current version.
Rob Landley <rob@landley.net>
parents: 617
diff changeset
93 URL=http://distcc.googlecode.com/files/distcc-3.1.tar.bz2 \
9dd37018e9f2 Update distcc to current version.
Rob Landley <rob@landley.net>
parents: 617
diff changeset
94 SHA1=30663e8ff94f13c0553fbfb928adba91814e1b3a \
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
95 download || dienow
110
62f6268ff61b Build uClibc's readelf and ldd by hand to work around inadequate cross-compile
Rob Landley <rob@landley.net>
parents: 106
diff changeset
96
622
fcecc8d854ea Update to 2.6.28.5 kernel and strace 4.5.18.
Rob Landley <rob@landley.net>
parents: 620
diff changeset
97 URL=http://downloads.sourceforge.net/sourceforge/strace/strace-4.5.18.tar.bz2 \
fcecc8d854ea Update to 2.6.28.5 kernel and strace 4.5.18.
Rob Landley <rob@landley.net>
parents: 620
diff changeset
98 SHA1=50081a7201dc240299396f088abe53c07de98e4c \
444
0022aaa9124e Add uClibc++ to download list, minor cleanup.
Rob Landley <rob@landley.net>
parents: 431
diff changeset
99 download || dienow
0022aaa9124e Add uClibc++ to download list, minor cleanup.
Rob Landley <rob@landley.net>
parents: 431
diff changeset
100
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
101 # The following packages are built and run on the host only. (host-tools.sh
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
102 # also builds host versions of many packages in the native root filesystem,
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
103 # but the following packages are not cross compiled for the target, and thus
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
104 # do not wind up in the system image.)
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
105
707
b95220513049 Bump qemu to 0.10.2 (fixes sh4 but not powerpc), and clean up MANIFEST file creation.
Rob Landley <rob@landley.net>
parents: 697
diff changeset
106 URL=http://download.savannah.nongnu.org/releases/qemu/qemu-0.10.2.tar.gz \
b95220513049 Bump qemu to 0.10.2 (fixes sh4 but not powerpc), and clean up MANIFEST file creation.
Rob Landley <rob@landley.net>
parents: 697
diff changeset
107 SHA1=78f595a1fcb52f8bb2774f2d658a803530560b9c \
686
17f24bc1214d Make qemu download unconditional so it doesn't keep deleting it.
Rob Landley <rob@landley.net>
parents: 683
diff changeset
108 download || dienow
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
109
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
110 URL=http://downloads.sourceforge.net/genext2fs/genext2fs-1.4.1.tar.gz &&
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
111 SHA1=9ace486ee1bad0a49b02194515e42573036f7392 \
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
112 download || dienow
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
113
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
114 URL=http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.4.tar.gz \
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
115 SHA1=55da145bce7b024ab609aa4a6fc8be81a2bb3490 \
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
116 download || dienow
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
117
697
43b1135e5e89 Squashfs 4.0 shipped.
Rob Landley <rob@landley.net>
parents: 686
diff changeset
118 URL=http://downloads.sourceforge.net/squashfs/squashfs4.0.tar.gz \
43b1135e5e89 Squashfs 4.0 shipped.
Rob Landley <rob@landley.net>
parents: 686
diff changeset
119 SHA1=3efe764ac27c507ee4a549fc6507bc86ea0660dd \
647
6886c9fcb89b Add download RENAME support and make squashfs use it to give a packagename-version filename like all the others.
Rob Landley <rob@landley.net>
parents: 645
diff changeset
120 RENAME="s/(squashfs)(.*)/\1-\2/" \
645
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
121 download || dienow
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
122
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
123 # Todo:
555a4cc67438 Reorder download entries into groups, add comments, add squashfs, bump qemu version.
Rob Landley <rob@landley.net>
parents: 644
diff changeset
124
128
8c6b1e6a94d1 Update uClibc snapshot. This fixes the native gcc for arm.
Rob Landley <rob@landley.net>
parents: 110
diff changeset
125 # ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2
8c6b1e6a94d1 Update uClibc snapshot. This fixes the native gcc for arm.
Rob Landley <rob@landley.net>
parents: 110
diff changeset
126
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
127 echo === Got all source.
41
3baa8ab7ee6d Largeish update.
Rob Landley <rob@landley.net>
parents: 37
diff changeset
128
707
b95220513049 Bump qemu to 0.10.2 (fixes sh4 but not powerpc), and clean up MANIFEST file creation.
Rob Landley <rob@landley.net>
parents: 697
diff changeset
129 rm -f "$SRCDIR"/MANIFEST
b95220513049 Bump qemu to 0.10.2 (fixes sh4 but not powerpc), and clean up MANIFEST file creation.
Rob Landley <rob@landley.net>
parents: 697
diff changeset
130
397
98b6f0746bf7 Minor cleanup, prepare for unstable package logic.
Rob Landley <rob@landley.net>
parents: 394
diff changeset
131 cleanup_oldfiles
41
3baa8ab7ee6d Largeish update.
Rob Landley <rob@landley.net>
parents: 37
diff changeset
132
657
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
133 # Create a MANIFEST file listing package versions.
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
134
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
135 # This can optionally call source control systems (hg and svn) to get version
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
136 # information for the FWL build scripts and any USE_UNSTABLE packages, so
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
137 # use $OLDPATH. (Most likely we haven't run host-tools.sh yet, but just
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
138
707
b95220513049 Bump qemu to 0.10.2 (fixes sh4 but not powerpc), and clean up MANIFEST file creation.
Rob Landley <rob@landley.net>
parents: 697
diff changeset
139 PATH="$OLDPATH" do_readme > "$SRCDIR"/MANIFEST || dienow
657
a56fa2df4d82 Add MANIFEST file to mini-native-$ARCH/usr/src.
Rob Landley <rob@landley.net>
parents: 649
diff changeset
140
49
84341b143dbb Turnerize.
Rob Landley <rob@landley.net>
parents: 45
diff changeset
141 # Set color back to normal.
84341b143dbb Turnerize.
Rob Landley <rob@landley.net>
parents: 45
diff changeset
142 echo -e "\e[0m"