浏览代码

ony check for yasm on x86 target

Waldemar Brodkorb 12 年之前
父节点
当前提交
202363dab6
共有 1 个文件被更改,包括 6 次插入4 次删除
  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