From: Peter Korsgaard Date: Wed, 18 Jun 2008 13:11:52 +0000 (-0000) Subject: dependencies: check for awk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c462a82ec7ba43148b4deea76ef1394263a3845;p=buildroot.git dependencies: check for awk --- diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 60b9b65966..170f437286 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -232,6 +232,18 @@ if [ ! -z "$CXXCOMPILER" ] ; then echo "C++ compiler version '$CXXCOMPILER_VERSION': Ok" fi +############################################################# +# +# check build system 'awk' +# +############################################################# +if ! which awk > /dev/null ; then + echo "awk installed: FALSE" + /bin/echo -e "\n\nYou must install 'awk' on your build machine\n"; + exit 1; +fi; +echo "awk installed: Ok" + ############################################################# # # check build system 'bison'