Remove the check for absolutely needed tools now ./configure checks for them.
Move the check for 'lynx' to where it is needed (that is when sstrip from buildroot is selected).
/trunk/scripts/build/tools/200-sstrip.sh | 1 1 0 0 +
/trunk/scripts/crosstool.sh | 5 0 5 0 -----
2 files changed, 1 insertion(+), 5 deletions(-)
1.1 --- a/scripts/build/tools/200-sstrip.sh Thu Jul 17 19:36:21 2008 +0000
1.2 +++ b/scripts/build/tools/200-sstrip.sh Thu Jul 17 21:17:19 2008 +0000
1.3 @@ -31,6 +31,7 @@
1.4 ;;
1.5
1.6 buildroot)
1.7 + CT_HasOrAbort lynx
1.8 sstrip_url='http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/sstrip/sstrip.c'
1.9 do_print_filename() {
1.10 echo "sstrip.c"
2.1 --- a/scripts/crosstool.sh Thu Jul 17 19:36:21 2008 +0000
2.2 +++ b/scripts/crosstool.sh Thu Jul 17 21:17:19 2008 +0000
2.3 @@ -53,11 +53,6 @@
2.4 CT_TestAndAbort "Don't set CXXFLAGS. It screws up the build." -n "${CXXFLAGS}"
2.5 CT_Test "GREP_OPTIONS screws up the build. Resetting." -n "${GREP_OPTIONS}"
2.6 GREP_OPTIONS=
2.7 -CT_HasOrAbort awk
2.8 -CT_HasOrAbort sed
2.9 -CT_HasOrAbort bison
2.10 -CT_HasOrAbort flex
2.11 -CT_HasOrAbort lynx
2.12
2.13 CT_DoLog INFO "Building environment variables"
2.14