]> xenbits.xensource.com Git - xen.git/commitdiff
automation: lift tools build restriction in build script
authorWei Liu <wei.liu2@citrix.com>
Wed, 7 Nov 2018 12:31:49 +0000 (12:31 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 13 Nov 2018 13:48:46 +0000 (13:48 +0000)
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 <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/scripts/build

index ad848dfd003da1289097013b6c98231efba6985a..48e398ea20204ddf15878607518ce6f78730530b 100755 (executable)
@@ -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