* [ptxdist] [PATCH] openssl: fix configuration for mips64
@ 2025-05-06 11:20 Ladislav Michl
2025-05-09 8:37 ` Michael Olbrich
2025-05-14 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 2 replies; 5+ messages in thread
From: Ladislav Michl @ 2025-05-06 11:20 UTC (permalink / raw)
To: ptxdist
From: Ladislav Michl <ladis@triops.cz>
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
rules/openssl.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rules/openssl.make b/rules/openssl.make
index f2e985b58..2cdaf5259 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -45,11 +45,11 @@ OPENSSL_ARCH-$(PTXCONF_ARCH_ARM64) := debian-arm64
ifdef PTXCONF_ENDIAN_LITTLE
OPENSSL_ARCH-$(PTXCONF_ARCH_ARM) := debian-armel
-OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mipsel
+OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64el,mipsel)
OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3
OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4
else
-OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mips
+OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64,mips)
OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3eb
OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4eb
endif
--
2.39.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] openssl: fix configuration for mips64
2025-05-06 11:20 [ptxdist] [PATCH] openssl: fix configuration for mips64 Ladislav Michl
@ 2025-05-09 8:37 ` Michael Olbrich
2025-05-14 13:28 ` Ladislav Michl
2025-05-14 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
1 sibling, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2025-05-09 8:37 UTC (permalink / raw)
To: Ladislav Michl; +Cc: ptxdist
On Tue, May 06, 2025 at 01:20:49PM +0200, Ladislav Michl wrote:
> From: Ladislav Michl <ladis@triops.cz>
>
> Signed-off-by: Ladislav Michl <ladis@triops.cz>
> ---
> rules/openssl.make | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rules/openssl.make b/rules/openssl.make
> index f2e985b58..2cdaf5259 100644
> --- a/rules/openssl.make
> +++ b/rules/openssl.make
> @@ -45,11 +45,11 @@ OPENSSL_ARCH-$(PTXCONF_ARCH_ARM64) := debian-arm64
>
> ifdef PTXCONF_ENDIAN_LITTLE
> OPENSSL_ARCH-$(PTXCONF_ARCH_ARM) := debian-armel
> -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mipsel
> +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64el,mipsel)
PTXCONF_ARCH_MIPS in combination with PTXCONF_ARCH_LP64 is currently not
possible in PTXdist upstream. I assume you have local changes to
platforms/architecture.in. Can you send those as well?
Michael
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4
> else
> -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mips
> +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64,mips)
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3eb
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4eb
> endif
> --
> 2.39.5
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [APPLIED] openssl: fix configuration for mips64
2025-05-06 11:20 [ptxdist] [PATCH] openssl: fix configuration for mips64 Ladislav Michl
2025-05-09 8:37 ` Michael Olbrich
@ 2025-05-14 6:07 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2025-05-14 6:07 UTC (permalink / raw)
To: ptxdist; +Cc: Ladislav Michl
Thanks, applied as 01fa52a51e618b120ea060ee8539700ab06de770.
Michael
[sent from post-receive hook]
On Wed, 14 May 2025 08:07:44 +0200, Ladislav Michl <oss-lists@triops.cz> wrote:
> Signed-off-by: Ladislav Michl <ladis@triops.cz>
> Message-Id: <aBnwkfqsKkF4QOq9@lenoch>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/openssl.make b/rules/openssl.make
> index f2e985b58d28..2cdaf52594e9 100644
> --- a/rules/openssl.make
> +++ b/rules/openssl.make
> @@ -45,11 +45,11 @@ OPENSSL_ARCH-$(PTXCONF_ARCH_ARM64) := debian-arm64
>
> ifdef PTXCONF_ENDIAN_LITTLE
> OPENSSL_ARCH-$(PTXCONF_ARCH_ARM) := debian-armel
> -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mipsel
> +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64el,mipsel)
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4
> else
> -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mips
> +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64,mips)
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH3) := debian-sh3eb
> OPENSSL_ARCH-$(PTXCONF_ARCH_SH_SH4) := debian-sh4eb
> endif
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] openssl: fix configuration for mips64
2025-05-09 8:37 ` Michael Olbrich
@ 2025-05-14 13:28 ` Ladislav Michl
2025-05-16 8:06 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Ladislav Michl @ 2025-05-14 13:28 UTC (permalink / raw)
To: Michael Olbrich; +Cc: ptxdist
On Fri, May 09, 2025 at 10:37:49AM +0200, Michael Olbrich wrote:
> On Tue, May 06, 2025 at 01:20:49PM +0200, Ladislav Michl wrote:
> > From: Ladislav Michl <ladis@triops.cz>
> >
> > Signed-off-by: Ladislav Michl <ladis@triops.cz>
> > ---
> > rules/openssl.make | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/rules/openssl.make b/rules/openssl.make
> > index f2e985b58..2cdaf5259 100644
> > --- a/rules/openssl.make
> > +++ b/rules/openssl.make
> > @@ -45,11 +45,11 @@ OPENSSL_ARCH-$(PTXCONF_ARCH_ARM64) := debian-arm64
> >
> > ifdef PTXCONF_ENDIAN_LITTLE
> > OPENSSL_ARCH-$(PTXCONF_ARCH_ARM) := debian-armel
> > -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mipsel
> > +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64el,mipsel)
>
> PTXCONF_ARCH_MIPS in combination with PTXCONF_ARCH_LP64 is currently not
> possible in PTXdist upstream. I assume you have local changes to
> platforms/architecture.in. Can you send those as well?
One of BSP's files is just doing:
select ARCH_LP64
I've tried to solve it generic way, but I'm still unhappy the with solution.
L.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] openssl: fix configuration for mips64
2025-05-14 13:28 ` Ladislav Michl
@ 2025-05-16 8:06 ` Michael Olbrich
0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2025-05-16 8:06 UTC (permalink / raw)
To: Ladislav Michl; +Cc: ptxdist
On Wed, May 14, 2025 at 03:28:04PM +0200, Ladislav Michl wrote:
> On Fri, May 09, 2025 at 10:37:49AM +0200, Michael Olbrich wrote:
> > On Tue, May 06, 2025 at 01:20:49PM +0200, Ladislav Michl wrote:
> > > From: Ladislav Michl <ladis@triops.cz>
> > >
> > > Signed-off-by: Ladislav Michl <ladis@triops.cz>
> > > ---
> > > rules/openssl.make | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/rules/openssl.make b/rules/openssl.make
> > > index f2e985b58..2cdaf5259 100644
> > > --- a/rules/openssl.make
> > > +++ b/rules/openssl.make
> > > @@ -45,11 +45,11 @@ OPENSSL_ARCH-$(PTXCONF_ARCH_ARM64) := debian-arm64
> > >
> > > ifdef PTXCONF_ENDIAN_LITTLE
> > > OPENSSL_ARCH-$(PTXCONF_ARCH_ARM) := debian-armel
> > > -OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-mipsel
> > > +OPENSSL_ARCH-$(PTXCONF_ARCH_MIPS) := debian-$(call ptx/ifdef,PTXCONF_ARCH_LP64,mips64el,mipsel)
> >
> > PTXCONF_ARCH_MIPS in combination with PTXCONF_ARCH_LP64 is currently not
> > possible in PTXdist upstream. I assume you have local changes to
> > platforms/architecture.in. Can you send those as well?
>
> One of BSP's files is just doing:
> select ARCH_LP64
>
> I've tried to solve it generic way, but I'm still unhappy the with solution.
What's the Problem with just adding another choice for Mips, just like we
have for other architectures?
Michael
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-05-16 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-06 11:20 [ptxdist] [PATCH] openssl: fix configuration for mips64 Ladislav Michl
2025-05-09 8:37 ` Michael Olbrich
2025-05-14 13:28 ` Ladislav Michl
2025-05-16 8:06 ` Michael Olbrich
2025-05-14 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox