Install nasm and build ovmf with gcc on x86.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
dev86 \
xz-devel \
bzip2 \
+ nasm \
&& yum clean all
checkpolicy \
wget \
git \
+ nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
checkpolicy \
wget \
git \
+ nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
checkpolicy \
wget \
git \
+ nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
checkpolicy \
wget \
git \
+ nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
checkpolicy \
wget \
git \
+ nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
if [[ "${XEN_TARGET_ARCH}" == "arm64" || "${XEN_TARGET_ARCH}" == "arm32" ]]; then
cfgargs+=("--disable-tools") # we don't have the cross depends installed
+elif [[ "${CC}" != "clang" ]]; then
+ cfgargs+=("--enable-ovmf") # build ovmf with gcc on x86, arm doesn't use in-tree ovmf
fi
./configure "${cfgargs[@]}"