提交 b461cdc9 编写于 作者: B Blue Swirl

Don't compile roms if not building system targets

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 05d00df4
......@@ -1982,7 +1982,8 @@ echo "TOOLS=$tools" >> $config_host_mak
# Mac OS X ships with a broken assembler
roms=
if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
"$targetos" != "Darwin" ; then
"$targetos" != "Darwin" -a \
`expr "$target_list" : ".*softmmu.*"` != 0 ; then
roms="optionrom"
fi
echo "ROMS=$roms" >> $config_host_mak
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册