[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 17/17] automation: build Xen with CONFIG_PV and CONFIG_HVM explicitly set



Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.