[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] automation: build some customised configs
commit 7ef789d79facf8456653933c99b0292cc6f1b68c Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Fri Nov 2 17:49:47 2018 +0000 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Nov 8 16:40:20 2018 +0000 automation: build some customised configs 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@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- automation/configs/x86/hvm_only_config | 3 +++ automation/configs/x86/no_hvm_pv_config | 3 +++ automation/configs/x86/pv_only_config | 3 +++ automation/scripts/build | 14 ++++++++++++++ 4 files changed, 23 insertions(+) diff --git a/automation/configs/x86/hvm_only_config b/automation/configs/x86/hvm_only_config new file mode 100644 index 0000000000..9efbddd535 --- /dev/null +++ b/automation/configs/x86/hvm_only_config @@ -0,0 +1,3 @@ +CONFIG_HVM=y +# CONFIG_PV is not set +# CONFIG_DEBUG is not set diff --git a/automation/configs/x86/no_hvm_pv_config b/automation/configs/x86/no_hvm_pv_config new file mode 100644 index 0000000000..0bf6a8e468 --- /dev/null +++ b/automation/configs/x86/no_hvm_pv_config @@ -0,0 +1,3 @@ +# CONFIG_HVM is not set +# CONFIG_PV is not set +# CONFIG_DEBUG is not set diff --git a/automation/configs/x86/pv_only_config b/automation/configs/x86/pv_only_config new file mode 100644 index 0000000000..e9d8b4a7c7 --- /dev/null +++ b/automation/configs/x86/pv_only_config @@ -0,0 +1,3 @@ +CONFIG_PV=y +# CONFIG_HVM is not set +# CONFIG_DEBUG is not set diff --git a/automation/scripts/build b/automation/scripts/build index c463b060d4..ad848dfd00 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -31,3 +31,17 @@ fi ./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 -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |