Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -11,39 +11,38 @@ if test $? != 0 ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# sanity check for CWD in LD_LIBRARY_PATH
|
||||
# try not to rely on egrep..
|
||||
if test -n "$LD_LIBRARY_PATH" ; then
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep '::' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep ':\.:' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep 'TRiGGER_start:' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep 'TRiGGER_start\.:' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep ':TRiGGER_end' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep ':\.TRiGGER_end' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | grep 'TRiGGER_start\.TRiGGER_end' >/dev/null 2>&1
|
||||
if test $? = 0; then
|
||||
echo
|
||||
echo "You seem to have the current working directory in your"
|
||||
echo "LD_LIBRARY_PATH environment variable. This doesn't work."
|
||||
exit 1;
|
||||
fi
|
||||
fi;
|
||||
# Sanity check for CWD in LD_LIBRARY_PATH
|
||||
case ":${LD_LIBRARY_PATH:-unset}:" in
|
||||
(*::*|*:.:*)
|
||||
echo
|
||||
echo "You seem to have the current working directory in your"
|
||||
echo "LD_LIBRARY_PATH environment variable. This doesn't work."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# sanity check for CWD in PATH. Having the current working directory
|
||||
# in the PATH makes the toolchain build process break.
|
||||
# try not to rely on egrep..
|
||||
if test -n "$PATH" ; then
|
||||
echo TRiGGER_start"$PATH"TRiGGER_end | grep ':\.:' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$PATH"TRiGGER_end | grep 'TRiGGER_start\.:' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$PATH"TRiGGER_end | grep ':\.TRiGGER_end' >/dev/null 2>&1 ||
|
||||
echo TRiGGER_start"$PATH"TRiGGER_end | grep 'TRiGGER_start\.TRiGGER_end' >/dev/null 2>&1
|
||||
if test $? = 0; then
|
||||
echo
|
||||
echo "You seem to have the current working directory in your"
|
||||
echo "PATH environment variable. This doesn't work."
|
||||
exit 1;
|
||||
fi
|
||||
fi;
|
||||
# Sanity check for CWD in PATH. Having the current working directory
|
||||
# in the PATH makes various packages (e.g. toolchain, coreutils...)
|
||||
# build process break.
|
||||
# PATH should not contain a newline, otherwise it fails in spectacular
|
||||
# ways as soon as PATH is referenced in a package rule
|
||||
# An empty PATH is technically possible, but in practice we would not
|
||||
# even arrive here if that was the case.
|
||||
case ":${PATH:-unset}:" in
|
||||
(*::*|*:.:*)
|
||||
echo
|
||||
echo "You seem to have the current working directory in your"
|
||||
echo "PATH environment variable. This doesn't work."
|
||||
exit 1
|
||||
;;
|
||||
(*"
|
||||
"*) printf "\n"
|
||||
# Break the '\n' sequence, or a \n is printed (which is not what we want).
|
||||
printf "Your PATH contains a newline (%sn) character.\n" "\\"
|
||||
printf "This doesn't work. Fix you PATH.\n"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$PERL_MM_OPT" ; then
|
||||
echo
|
||||
@@ -188,7 +187,7 @@ if grep ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG > /dev/null; then
|
||||
echo "You need locale support on your build machine to build a toolchain supporting locales"
|
||||
exit 1 ;
|
||||
fi
|
||||
if ! locale -a | grep -q -i utf8$ ; then
|
||||
if ! locale -a | grep -q -i -E 'utf-?8$' ; then
|
||||
echo
|
||||
echo "You need at least one UTF8 locale to build a toolchain supporting locales"
|
||||
exit 1 ;
|
||||
@@ -223,6 +222,8 @@ if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then
|
||||
echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386,"
|
||||
echo "lib32stdc++6, and lib32z1 packages (or alternatively libc6:i386,"
|
||||
echo "libstdc++6:i386, and zlib1g:i386)."
|
||||
echo "If you're running a RedHat/Fedora distribution, install the glibc.i686 and"
|
||||
echo "zlib.i686 packages."
|
||||
echo "For other distributions, refer to the documentation on how to install the 32 bits"
|
||||
echo "compatibility libraries."
|
||||
exit 1
|
||||
@@ -237,6 +238,14 @@ if grep -q ^BR2_HOSTARCH_NEEDS_IA32_COMPILER=y $BR2_CONFIG ; then
|
||||
echo "For other distributions, refer to their documentation."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! echo "int main(void) {}" | g++ -m32 -x c++ - -o /dev/null 2>/dev/null; then
|
||||
echo
|
||||
echo "Your Buildroot configuration needs a compiler capable of building 32 bits binaries."
|
||||
echo "If you're running a Debian/Ubuntu distribution, install the g++-multilib package."
|
||||
echo "For other distributions, refer to their documentation."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check that the Perl installation is complete enough for Buildroot.
|
||||
@@ -268,3 +277,8 @@ if [ -n "$missing_perl_modules" ] ; then
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! python -c "import argparse" > /dev/null 2>&1 ; then
|
||||
echo "Your Python installation is not complete enough: argparse module is missing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user