Mercurial > hg > aboriginal
view build.sh @ 253:f93932523a08
Reorder forkbomb build so ./host-tools.sh gets built first. Then toybox
utilities can be used to extract all the other packages (patch, bunzip,
sha1sum, echo, eventually tar...) Motivated by a bug I encountered in gnu
patch on Kubuntu 7.10 that's insisting linux-2.6.13-cmdline.patch is
a reversed patch, when it isn't. (That patch has been happily applying for
over a year now, and I examined it by hand. The bug's in the Ubuntu patch
command. Not my problem.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 01 Jan 2008 03:08:29 -0600 |
parents | f8dac531cbb5 |
children | b2e353ae7566 |
line wrap: on
line source
#!/bin/bash # If run with no arguments, list architectures. if [ $# -eq 0 ] then echo "Usage: $0 ARCH [ARCH...]" ./include.sh exit 1 fi # Download source code and build host tools. ./download.sh || exit 1 time ./host-tools.sh || exit 1 # Run the steps in order for each architecture listed on the command line for i in "$@" do echo "=== Building ARCH $i" time ./cross-compiler.sh $i || exit 1 echo "=== native ($i)" time ./mini-native.sh $i || exit 1 time ./package-mini-native.sh $i || exit 1 done