Signed-off-by: Wei Liu <wei.l...@citrix.com>
---
 automation/scripts/build | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/automation/scripts/build b/automation/scripts/build
index c463b06..8af3fab 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -31,3 +31,21 @@ fi
 ./configure "${cfgargs[@]}"
 
 make -j$(nproc) dist
+
+# build PV only, HVM only and bare bone Xen on x86
+if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
+    # PV only
+    rm -f xen/.config
+    make -C xen KBUILD_DEFCONFIG=pv_only_defconfig XEN_CONFIG_EXPERT=y 
defconfig
+    make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y
+
+    # HVM only
+    rm -f xen/.config
+    make -C xen KBUILD_DEFCONFIG=hvm_only_defconfig XEN_CONFIG_EXPERT=y 
defconfig
+    make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y
+
+    # Bare bone
+    rm -f xen/.config
+    make -C xen KBUILD_DEFCONFIG=no_hvm_pv_defconfig XEN_CONFIG_EXPERT=y 
defconfig
+    make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y
+fi
-- 
git-series 0.9.1

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to