mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
For native (non-cross compiles) we now only require bcc, ld86, as86 for building rombios, we can build the toolstack sans rombios and using the system SeaBIOS due to known build issues. At the same time capture the output of the configure scripts to help with tracking down future build issues. This does not enable building of the toolstack with clang for now due to multiple failures. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Reviewed-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Andrew Cooper<andrew.cooper3@citrix.com> Release-acked-by: Wei Liu <wei.liu2@citrix.com>
32 lines
773 B
Bash
Executable File
32 lines
773 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
# random config or default config
|
|
if [[ "${RANDCONFIG}" == "y" ]]; then
|
|
make -C xen randconfig
|
|
else
|
|
make -C xen defconfig
|
|
fi
|
|
|
|
# build up our configure options
|
|
cfgargs=()
|
|
cfgargs+=("--disable-stubdom") # more work needed into building this
|
|
cfgargs+=("--disable-rombios")
|
|
cfgargs+=("--enable-docs")
|
|
cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin")
|
|
|
|
if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
|
|
cfgargs+=("--enable-tools")
|
|
else
|
|
cfgargs+=("--disable-tools") # we don't have the cross depends installed
|
|
fi
|
|
|
|
# Due to multiple build failures and the desire to get more
|
|
# build testing (GCC only) enabled this is disabled
|
|
if [[ "${clang}" == "y" ]]; then
|
|
cfgargs+=("--disable-tools")
|
|
fi
|
|
|
|
./configure "${cfgargs[@]}"
|
|
|
|
make dist
|