* [Buildroot] [PATCH] package/rpi-userland: support ARM64 build
[not found] <CAEXMXLT9gkCfFjEyR6=H6qaQ29wbLCJe=6cne9Kmw84KkbdfkQ@mail.gmail.com>
@ 2022-08-20 17:35 ` Nuno Gonçalves
2022-08-20 18:38 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Nuno Gonçalves @ 2022-08-20 17:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
---
package/rpi-userland/Config.in | 2 +-
package/rpi-userland/rpi-userland.mk | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
index 342faf26e3..809ec6a6a2 100644
--- a/package/rpi-userland/Config.in
+++ b/package/rpi-userland/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_RPI_USERLAND
bool "rpi-userland"
- depends on BR2_arm
+ depends on BR2_arm || BR2_aarch64
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
diff --git a/package/rpi-userland/rpi-userland.mk
b/package/rpi-userland/rpi-userland.mk
index 1204196e19..4ea51fa7f5 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
RPI_USERLAND_DEPENDENCIES += libexecinfo
endif
+ifeq ($(BR2_aarch64),y)
+RPI_USERLAND_CONF_OPTS += -DARM64=1
+endif
+
ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
--
2.37.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/rpi-userland: support ARM64 build
2022-08-20 17:35 ` [Buildroot] [PATCH] package/rpi-userland: support ARM64 build Nuno Gonçalves
@ 2022-08-20 18:38 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-08-20 18:38 UTC (permalink / raw)
To: Nuno Gonçalves; +Cc: buildroot
Nuno, All,
On 2022-08-20 18:35 +0100, Nuno Gonçalves spake thusly:
> Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
Thanks for submitting this patch.
This has been proposed quite a few times already:
http://lists.busybox.net/pipermail/buildroot/2020-August/289559.html
http://lists.busybox.net/pipermail/buildroot/2020-January/271577.html
https://lore.kernel.org/buildroot/20201017082525.GF3466@scaer/
And there were at the time quite a lot of concerns about it, and a
conclusion that arm64 was in fact not trule supported.
In short, on arm64, the set of libraries was not the same as that on
arm32, and so rpi-userland could not be, in arm64, a provider for
OpneGLES, OpenGL-EGL, or OpenMAX.
And I'll quote my previous reply:
Has that situation improved now?
If the situation is better now, then please address that in the commit
log. If not, please see the the aforementioned threads for suggested
improvements (like making the EGL/GLES/OPENMAX provider conditional).
Please note that there is one big question, about libfdt, in one of
those threads, which must be addressed too (although it does not seem to
be AArch64-related?).
For now, I've marked this patch as changes requested.
Regards,
Yann E. MORIN.
> ---
> package/rpi-userland/Config.in | 2 +-
> package/rpi-userland/rpi-userland.mk | 4 ++++
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
> index 342faf26e3..809ec6a6a2 100644
> --- a/package/rpi-userland/Config.in
> +++ b/package/rpi-userland/Config.in
> @@ -1,6 +1,6 @@
> config BR2_PACKAGE_RPI_USERLAND
> bool "rpi-userland"
> - depends on BR2_arm
> + depends on BR2_arm || BR2_aarch64
> depends on BR2_INSTALL_LIBSTDCPP
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on !BR2_STATIC_LIBS
> diff --git a/package/rpi-userland/rpi-userland.mk
> b/package/rpi-userland/rpi-userland.mk
> index 1204196e19..4ea51fa7f5 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
> RPI_USERLAND_DEPENDENCIES += libexecinfo
> endif
>
> +ifeq ($(BR2_aarch64),y)
> +RPI_USERLAND_CONF_OPTS += -DARM64=1
> +endif
> +
> ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
>
> RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
> --
> 2.37.2
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-20 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAEXMXLT9gkCfFjEyR6=H6qaQ29wbLCJe=6cne9Kmw84KkbdfkQ@mail.gmail.com>
2022-08-20 17:35 ` [Buildroot] [PATCH] package/rpi-userland: support ARM64 build Nuno Gonçalves
2022-08-20 18:38 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox