From 202363dab62195e0c4562758d3f356d84ad64fdf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Oct 2013 08:58:16 +0200 Subject: ony check for yasm on x86 target --- scripts/scan-pkgs.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 9a595ac5e..dbce88a86 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -443,10 +443,12 @@ if [[ -n $NEED_FLEX ]]; then fi fi -if [[ -n $NEED_YASM ]]; then - if ! which yasm >/dev/null 2>&1; then - echo >&2 You need yasm to build $NEED_YASM - out=1 +if [[ -n $ADK_LINUX_X86 ]]; then + if [[ -n $NEED_YASM ]]; then + if ! which yasm >/dev/null 2>&1; then + echo >&2 You need yasm to build $NEED_YASM + out=1 + fi fi fi -- cgit v1.2.3