From d718d7b84c30e903f0c1f212d8c83373e4800a52 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 19 Oct 2008 14:41:09 +0200 Subject: [PATCH] check for nasm on the host --- toolchain/dependencies/dependencies.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 3d94537..b944a50 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -265,6 +265,21 @@ if ! which flex > /dev/null ; then fi; echo "flex installed: Ok" +############################################################# +# +# check build system 'nasm' +# +############################################################# +if [ "x$NEED_NASM" = "xy" ] +then + NASM=$(toolchain/dependencies/check-host-nasm.sh) + + if [ -z "$NASM" ] ; then + echo "nasm works: No, using buildroot version instead" + else + echo "nasm works: Ok ($NASM)" + fi +fi ############################################################# # -- 2.11.4.GIT