Parcourir la source

ony check for yasm on x86 target

Waldemar Brodkorb il y a 12 ans
Parent
commit
202363dab6
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  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