Mercurial > hg > aboriginal
comparison mini-native.sh @ 96:137ba51ee993
Delete output directories on re-run, teach build to log and build multiple
targets (in series), give hosttools its own target directory, add toybox to
hosttools build (for gene2fs soon), update uClibc snapshot.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 01 Feb 2007 00:37:50 -0500 |
parents | 7c874da5505c |
children | 2b748009f1a6 |
comparison
equal
deleted
inserted
replaced
95:027e15c1cfec | 96:137ba51ee993 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Get lots of predefined environment variables and shell functions. | 3 # Get lots of predefined environment variables and shell functions. |
4 | 4 |
5 source include.sh | 5 source include.sh |
6 | |
7 rm -rf "${NATIVE}" | |
8 | |
6 TOOLS="${NATIVE}/tools" | 9 TOOLS="${NATIVE}/tools" |
7 mkdir -p "${TOOLS}/bin" || dienow | 10 mkdir -p "${TOOLS}/bin" || dienow |
8 | 11 |
9 # Tell the wrapper script where to find the dynamic linker. | 12 # Tell the wrapper script where to find the dynamic linker. |
10 export UCLIBC_DYNAMIC_LINKER=/tools/lib/ld-uClibc.so.0 | 13 export UCLIBC_DYNAMIC_LINKER=/tools/lib/ld-uClibc.so.0 |