Browse Source

ony check for yasm on x86 target

Waldemar Brodkorb 11 years ago
parent
commit
202363dab6
1 changed files with 6 additions and 4 deletions
  1. 6 4
      scripts/scan-pkgs.sh

+ 6 - 4
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