[Buildroot] [PATCH v4 2/4] package/xen: add custom version support
Neal Frager via buildroot <[email protected]> Mon, 3 Aug 2026 15:51:42 +0100
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
Add the ability to configure specific Xen versions while leaving the default version unchanged to avoid breaking any builds already using Xen 4.21.1. To test: BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_XEN=y Signed-off-by: Neal Frager <[email protected]> Tested-by: Matthew Weber <[email protected]> Prior test details: https://gist.github.com/matthew-l-weber/c17f14a3793ccee440a383e4177ff3db Reviewed-by: John Ernberg <[email protected]> --- V1->V2: - rebased to updated master branch - removed the line move of the XEN_SITE definition V2->V4: - merged into new patch series as the second patch --- package/xen/Config.in | 25 +++++++++++++++++++++++++ package/xen/xen.mk | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/package/xen/Config.in b/package/xen/Config.in index d63a3f6002..e50b232f0a 100644 --- a/package/xen/Config.in +++ b/package/xen/Config.in @@ -10,6 +10,31 @@ config BR2_PACKAGE_XEN if BR2_PACKAGE_XEN +choice + prompt "Xen Version" + help + Select the specific Xen version you want to use + +config BR2_PACKAGE_XEN_LATEST_VERSION + bool "4.21.1" + +config BR2_PACKAGE_XEN_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official version + +endchoice + +config BR2_PACKAGE_XEN_CUSTOM_VERSION_VALUE + string "Xen version" + depends on BR2_PACKAGE_XEN_CUSTOM_VERSION + +config BR2_PACKAGE_XEN_VERSION + string + default "4.21.1" if BR2_PACKAGE_XEN_LATEST_VERSION + default BR2_PACKAGE_XEN_CUSTOM_VERSION_VALUE \ + if BR2_PACKAGE_XEN_CUSTOM_VERSION + config BR2_PACKAGE_XEN_HYPERVISOR bool "Xen hypervisor" help diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 75252d1123..51d51333ac 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.21.1 +XEN_VERSION = $(call qstrip,$(BR2_PACKAGE_XEN_VERSION)) XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_SELINUX_MODULES = systemd udev xen XEN_LICENSE = GPL-2.0 -- 2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot