Introduce a new directory to put in configs we care about. Modify
build script to build with those configs.
While we only introduce x86 configs initially, provision for non-x86
configs.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
--- /dev/null
+CONFIG_HVM=y
+# CONFIG_PV is not set
+# CONFIG_DEBUG is not set
--- /dev/null
+# CONFIG_HVM is not set
+# CONFIG_PV is not set
+# CONFIG_DEBUG is not set
--- /dev/null
+CONFIG_PV=y
+# CONFIG_HVM is not set
+# CONFIG_DEBUG is not set
./configure "${cfgargs[@]}"
make -j$(nproc) dist
+
+# Build all the configs we care about
+case ${XEN_TARGET_ARCH} in
+ x86_64) arch=x86 ;;
+ *) exit 0 ;;
+esac
+
+cfg_dir="automation/configs/${arch}"
+for cfg in `ls ${cfg_dir}`; do
+ echo "Building $cfg"
+ rm -f xen/.config
+ make -C xen KBUILD_DEFCONFIG=../../../../${cfg_dir}/${cfg} XEN_CONFIG_EXPERT=y defconfig
+ make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y
+done