Mercurial > hg > aboriginal
changeset 318:b3cf2e4b74f0
Patch from Andre Ruiz to fix host-tools rebuild check. (If busybox is already
on the host system, it may not be the right version or configuration, and
in any case the symlinks won't be set up right unless we install it, so
check that it's in build/host instead of in $PATH.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 11 Apr 2008 09:46:00 -0500 |
parents | 90c5fff61c7b |
children | 17ac907b99f8 |
files | host-tools.sh |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/host-tools.sh Tue Apr 08 23:56:19 2008 -0500 +++ b/host-tools.sh Fri Apr 11 09:46:00 2008 -0500 @@ -27,7 +27,7 @@ done # Build toybox -if [ -z "$(which toybox)" ] +if [ ! -f "${HOSTTOOLS}/toybox" ] then setupfor toybox && make defconfig && @@ -42,7 +42,7 @@ # command at a time. # Build busybox -if [ -z "$(which busybox)" ] +if [ ! -f "${HOSTTOOLS}/busybox" ] then setupfor busybox && cp "${SOURCES}/config-busybox" .config && @@ -66,7 +66,7 @@ # the cross compiler, but it needs to be on the host system in order to # use the distcc acceleration trick. -# Build distcc +# Build distcc (if it's not in $PATH) if [ -z "$(which distcc)" ] then setupfor distcc && @@ -81,7 +81,7 @@ # As a temporary measure, build User Mode Linux and use _that_ to package # the ext2 image to boot qemu with. (Replace this with toybox gene2fs.) -if [ -z "$(which linux)" ] +if [ -z "${HOSTTOOLS}/linux" ] then setupfor linux && cat > mini.conf << EOF &&