Skip to content

Commit

Permalink
automation: lift tools build restriction in build script
Browse files Browse the repository at this point in the history
The restrictions are mostly from Travis CI days when cross-compilation
was not feasible. Now we will be building natively on Arm, remove
those lines.

Signed-off-by: Wei Liu <[email protected]>
Acked-by: Doug Goldstein <[email protected]>
  • Loading branch information
Wei Liu committed Nov 13, 2018
1 parent 4cbc298 commit 15410d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions automation/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ if [[ "${CC}" == "clang" ]]; then
cfgargs+=("--disable-stubdom")
fi

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[@]}"

make -j$(nproc) dist
Expand Down

0 comments on commit 15410d8

Please sign in to comment.