mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
The file provided contains symbols that must be set to certain values. This then prevents random build breakage in travis due to known-incompatible symbol selections. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
28 lines
655 B
Bash
Executable File
28 lines
655 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
$CC --version
|
|
|
|
# random config or default config
|
|
if [[ "${RANDCONFIG}" == "y" ]]; then
|
|
make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config 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
|
|
|
|
./configure "${cfgargs[@]}"
|
|
|
|
make dist
|