* [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families
@ 2022-05-05 4:22 James Hilliard
2022-05-05 20:00 ` Arnout Vandecappelle
2022-05-28 8:57 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: James Hilliard @ 2022-05-05 4:22 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan, James Hilliard
Add mappings for new cpu families based on the reference table:
https://mesonbuild.com/Reference-tables.html#cpu-families
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/pkg-meson.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
index f1390a18d0..ff850fa79f 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk
@@ -36,6 +36,8 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
PKG_MESON_TARGET_CPU_FAMILY = arm
else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
PKG_MESON_TARGET_CPU_FAMILY = aarch64
+else ifeq ($(BR2_csky),y)
+PKG_MESON_TARGET_CPU_FAMILY = csky
else ifeq ($(BR2_i386),y)
PKG_MESON_TARGET_CPU_FAMILY = x86
else ifeq ($(BR2_m68k),y)
@@ -50,8 +52,12 @@ else ifeq ($(BR2_powerpc),y)
PKG_MESON_TARGET_CPU_FAMILY = ppc
else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
PKG_MESON_TARGET_CPU_FAMILY = ppc64
-else ifeq ($(BR2_riscv),y)
+else ifeq ($(BR2_riscv)$(BR2_RISCV_32),yy)
+PKG_MESON_TARGET_CPU_FAMILY = riscv32
+else ifeq ($(BR2_riscv)$(BR2_RISCV_64),yy)
PKG_MESON_TARGET_CPU_FAMILY = riscv64
+else ifeq ($(BR2_s390x),y)
+PKG_MESON_TARGET_CPU_FAMILY = s390x
else ifeq ($(BR2_sh4)$(BR2_sh4eb)$(BR2_sh4a)$(BR2_sh4aeb),y)
PKG_MESON_TARGET_CPU_FAMILY = sh4
else ifeq ($(BR2_sparc),y)
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families
2022-05-05 4:22 [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families James Hilliard
@ 2022-05-05 20:00 ` Arnout Vandecappelle
2022-05-28 8:57 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-05-05 20:00 UTC (permalink / raw)
To: James Hilliard, buildroot; +Cc: Eric Le Bihan
On 05/05/2022 06:22, James Hilliard wrote:
> Add mappings for new cpu families based on the reference table:
> https://mesonbuild.com/Reference-tables.html#cpu-families
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/pkg-meson.mk | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
> index f1390a18d0..ff850fa79f 100644
> --- a/package/pkg-meson.mk
> +++ b/package/pkg-meson.mk
> @@ -36,6 +36,8 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
> PKG_MESON_TARGET_CPU_FAMILY = arm
> else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
> PKG_MESON_TARGET_CPU_FAMILY = aarch64
> +else ifeq ($(BR2_csky),y)
> +PKG_MESON_TARGET_CPU_FAMILY = csky
> else ifeq ($(BR2_i386),y)
> PKG_MESON_TARGET_CPU_FAMILY = x86
> else ifeq ($(BR2_m68k),y)
> @@ -50,8 +52,12 @@ else ifeq ($(BR2_powerpc),y)
> PKG_MESON_TARGET_CPU_FAMILY = ppc
> else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
> PKG_MESON_TARGET_CPU_FAMILY = ppc64
> -else ifeq ($(BR2_riscv),y)
> +else ifeq ($(BR2_riscv)$(BR2_RISCV_32),yy)
> +PKG_MESON_TARGET_CPU_FAMILY = riscv32
> +else ifeq ($(BR2_riscv)$(BR2_RISCV_64),yy)
> PKG_MESON_TARGET_CPU_FAMILY = riscv64
> +else ifeq ($(BR2_s390x),y)
> +PKG_MESON_TARGET_CPU_FAMILY = s390x
> else ifeq ($(BR2_sh4)$(BR2_sh4eb)$(BR2_sh4a)$(BR2_sh4aeb),y)
> PKG_MESON_TARGET_CPU_FAMILY = sh4
> else ifeq ($(BR2_sparc),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families
2022-05-05 4:22 [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families James Hilliard
2022-05-05 20:00 ` Arnout Vandecappelle
@ 2022-05-28 8:57 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-28 8:57 UTC (permalink / raw)
To: James Hilliard; +Cc: Eric Le Bihan, buildroot
>>>>> "James" == James Hilliard <james.hilliard1@gmail.com> writes:
> Add mappings for new cpu families based on the reference table:
> https://mesonbuild.com/Reference-tables.html#cpu-families
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-28 8:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 4:22 [Buildroot] [PATCH 1/1] package/pkg-meson: add support for new cpu families James Hilliard
2022-05-05 20:00 ` Arnout Vandecappelle
2022-05-28 8:57 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.