Mercurial > hg > aboriginal
diff host-tools.sh @ 134:da91da84e7de
We can't reliably build qemu because who knows what toolchains the host
has installed? Until qemu gets fixed, just check for its existence and issue
a warning if it's not there.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 21 Mar 2007 15:23:12 -0400 |
parents | c91ceb05bc1c |
children | 6b4844b708b9 |
line wrap: on
line diff
--- a/host-tools.sh Mon Mar 19 01:39:32 2007 -0400 +++ b/host-tools.sh Wed Mar 21 15:23:12 2007 -0400 @@ -61,22 +61,23 @@ # #[ $? -ne 0 ] && dienow -# Build qemu (if it's not already installed) - -TEMP="qemu-${QEMU_TEST}" -[ -z "$QEMU_TEST" ] && TEMP=qemu - -if [ -z "$(which $TEMP)" ] -then +# we can't reliably build qemu because who knows what gcc version the host +# has? so until qemu is fixed to build with an arbitrary c compiler, +# just test for its' existence and warn. - setupfor qemu && - ./configure --disable-gcc-check --disable-gfx-check --prefix="${CROSS}" && - make && - make install && - cd .. && - $CLEANUP qemu-* +temp="qemu-${qemu_test}" +[ -z "$qemu_test" ] && temp=qemu - [ $? -ne 0 ] && dienow +if [ -z "$(which $temp)" ] +then + echo "***************** warning: $temp not found. *******************" fi +# setupfor qemu && +# ./configure --disable-gcc-check --disable-gfx-check --prefix="${CROSS}" && +# make && +# make install && +# cd .. && +# $CLEANUP qemu-* + echo -e "\e[32mHost tools build complete.\e[0m"