* Re: [Buildroot] [PATCH] package/kvm-unit-tests: Add RISC-V, bump to version 2025-06-05
[not found] <20250612003317.324785-1-jesse@rivosinc.com>
@ 2025-06-15 10:00 ` Thomas Huth
0 siblings, 0 replies; only message in thread
From: Thomas Huth @ 2025-06-15 10:00 UTC (permalink / raw)
To: Jesse Taube; +Cc: buildroot, Charlie Jenkins
Am Wed, 11 Jun 2025 17:33:17 -0700
schrieb Jesse Taube <jesse@rivosinc.com>:
> A new kvm-unit-tests version has recently been tagged, so let's
> update to that version.
> This version also add suport for RISC-V, add RISC-V to Config.in
>
> Signed-off-by: Jesse Taube <jesse@rivosinc.com>
> ---
> package/kvm-unit-tests/Config.in | 1 +
> package/kvm-unit-tests/kvm-unit-tests.hash | 2 +-
> package/kvm-unit-tests/kvm-unit-tests.mk | 6 +++++-
> 3 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
> index 02ea8dd58c..0d66a08dd7 100644
> --- a/package/kvm-unit-tests/Config.in
> +++ b/package/kvm-unit-tests/Config.in
> @@ -8,6 +8,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
> BR2_cortex_a55 || BR2_cortex_a75 || \
> BR2_cortex_a75_a55 || BR2_cortex_a76 || \
> BR2_cortex_a76_a55)
> + default y if BR2_riscv
> default y if BR2_i386 || BR2_x86_64
> default y if BR2_powerpc64 || BR2_powerpc64le
> default y if BR2_s390x
> diff --git a/package/kvm-unit-tests/kvm-unit-tests.hash b/package/kvm-unit-tests/kvm-unit-tests.hash
> index d4db9f2b75..ad0922df59 100644
> --- a/package/kvm-unit-tests/kvm-unit-tests.hash
> +++ b/package/kvm-unit-tests/kvm-unit-tests.hash
> @@ -1,4 +1,4 @@
> # Locally computed
> -sha256 8636994e10240705f10a9150ef688ae6832d0ea0dcc8860c826c645ecfc1169f kvm-unit-tests-v2024-01-08.tar.bz2
> +sha256 60015b023f34261c134d714f4670926ac81483e286a16475eb4a5cedab00eefa kvm-unit-tests-v2025-06-05.tar.bz2
> sha256 b3c9ca9e257f2eaae070cf0ccdf8770764f05a947a39a835e633413750a5777b COPYRIGHT
> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
> diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk
> index 73d20d6b2e..c40324a9f3 100644
> --- a/package/kvm-unit-tests/kvm-unit-tests.mk
> +++ b/package/kvm-unit-tests/kvm-unit-tests.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -KVM_UNIT_TESTS_VERSION = 2024-01-08
> +KVM_UNIT_TESTS_VERSION = 2025-06-05
> KVM_UNIT_TESTS_SOURCE = kvm-unit-tests-v$(KVM_UNIT_TESTS_VERSION).tar.bz2
> KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive/v$(KVM_UNIT_TESTS_VERSION)
> KVM_UNIT_TESTS_LICENSE = GPL-2.0, LGPL-2.0
> @@ -18,6 +18,10 @@ else ifeq ($(BR2_i386),y)
> KVM_UNIT_TESTS_ARCH = i386
> else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
> KVM_UNIT_TESTS_ARCH = ppc64
> +else ifeq ($(BR2_RISCV_64),y)
> +KVM_UNIT_TESTS_ARCH = riscv64
> +else ifeq ($(BR2_RISCV_32),y)
> +KVM_UNIT_TESTS_ARCH = riscv32
> else ifeq ($(BR2_s390x),y)
> KVM_UNIT_TESTS_ARCH = s390x
> else ifeq ($(BR2_x86_64),y)
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] only message in thread