Mercurial > hg > aboriginal
diff host-tools.sh @ 355:f6e1d29086c1
Mmove package-mini-native.sh back to using oneit, and always build toybox
for that. Add a report script to show commands used by each build stage on
the various architectures.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 04 Jul 2008 06:12:59 -0500 |
parents | 1782b77fae15 |
children | 9829e6cc8637 |
line wrap: on
line diff
--- a/host-tools.sh Thu Jul 03 03:57:43 2008 -0500 +++ b/host-tools.sh Fri Jul 04 06:12:59 2008 -0500 @@ -17,8 +17,21 @@ # If we want to record the host command lines, so we know exactly what commands # the build uses. -if [ ! -z "$RECORD_COMMANDS" ] +if [ ! -z "$RECORD_COMMANDS" ] && [ ! -f "$BUILD/wrapdir/wrappy" ] then + # package-mini-native.sh needs oneit. + + if [ ! -f "${HOSTTOOLS}/toybox" ] + then + setupfor toybox && + make defconfig && + make && + mv toybox "${HOSTTOOLS}"/oneit && + cd .. + + cleanup toybox + fi + echo setup wrapdir # Build the wrapper and install it into build/wrapdir/wrappy