diff mbox series

[1/1] package/kvm-unit-tests: add s390x support

Message ID 20220317223928.508338-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/kvm-unit-tests: add s390x support | expand

Commit Message

Fabrice Fontaine March 17, 2022, 10:39 p.m. UTC
s390x is supported since
https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/commit/3934308046e5f113e19ed0ada002e2ec33335b8a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/kvm-unit-tests/Config.in         | 1 +
 package/kvm-unit-tests/kvm-unit-tests.mk | 2 ++
 2 files changed, 3 insertions(+)

Comments

Thomas Huth March 22, 2022, 4:28 p.m. UTC | #1
Am Thu, 17 Mar 2022 23:39:28 +0100
schrieb Fabrice Fontaine <fontaine.fabrice@gmail.com>:

> s390x is supported since
> https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/commit/3934308046e5f113e19ed0ada002e2ec33335b8a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/kvm-unit-tests/Config.in         | 1 +
>  package/kvm-unit-tests/kvm-unit-tests.mk | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
> index e470dd6157..a3d6756fb9 100644
> --- a/package/kvm-unit-tests/Config.in
> +++ b/package/kvm-unit-tests/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
>  		BR2_cortex_a17 || BR2_cortex_a17_a7
>  	default y if BR2_i386 || BR2_x86_64
>  	default y if BR2_powerpc64 || BR2_powerpc64le
> +	default y if BR2_s390x
>  
>  config BR2_PACKAGE_KVM_UNIT_TESTS
>  	bool "kvm-unit-tests"
> diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk
> index d610442e03..2d05d08067 100644
> --- a/package/kvm-unit-tests/kvm-unit-tests.mk
> +++ b/package/kvm-unit-tests/kvm-unit-tests.mk
> @@ -16,6 +16,8 @@ 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_s390x),y)
> +KVM_UNIT_TESTS_ARCH = s390x
>  else ifeq ($(BR2_x86_64),y)
>  KVM_UNIT_TESTS_ARCH = x86_64
>  endif

Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Yann E. MORIN March 23, 2022, 11:12 a.m. UTC | #2
Fabrice, All,

On 2022-03-17 23:39 +0100, Fabrice Fontaine spake thusly:
> s390x is supported since
> https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/commit/3934308046e5f113e19ed0ada002e2ec33335b8a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/kvm-unit-tests/Config.in         | 1 +
>  package/kvm-unit-tests/kvm-unit-tests.mk | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
> index e470dd6157..a3d6756fb9 100644
> --- a/package/kvm-unit-tests/Config.in
> +++ b/package/kvm-unit-tests/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
>  		BR2_cortex_a17 || BR2_cortex_a17_a7
>  	default y if BR2_i386 || BR2_x86_64
>  	default y if BR2_powerpc64 || BR2_powerpc64le
> +	default y if BR2_s390x
>  
>  config BR2_PACKAGE_KVM_UNIT_TESTS
>  	bool "kvm-unit-tests"
> diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk
> index d610442e03..2d05d08067 100644
> --- a/package/kvm-unit-tests/kvm-unit-tests.mk
> +++ b/package/kvm-unit-tests/kvm-unit-tests.mk
> @@ -16,6 +16,8 @@ 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_s390x),y)
> +KVM_UNIT_TESTS_ARCH = s390x
>  else ifeq ($(BR2_x86_64),y)
>  KVM_UNIT_TESTS_ARCH = x86_64
>  endif
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
index e470dd6157..a3d6756fb9 100644
--- a/package/kvm-unit-tests/Config.in
+++ b/package/kvm-unit-tests/Config.in
@@ -6,6 +6,7 @@  config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
 		BR2_cortex_a17 || BR2_cortex_a17_a7
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc64 || BR2_powerpc64le
+	default y if BR2_s390x
 
 config BR2_PACKAGE_KVM_UNIT_TESTS
 	bool "kvm-unit-tests"
diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk
index d610442e03..2d05d08067 100644
--- a/package/kvm-unit-tests/kvm-unit-tests.mk
+++ b/package/kvm-unit-tests/kvm-unit-tests.mk
@@ -16,6 +16,8 @@  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_s390x),y)
+KVM_UNIT_TESTS_ARCH = s390x
 else ifeq ($(BR2_x86_64),y)
 KVM_UNIT_TESTS_ARCH = x86_64
 endif