mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] OpenSSL for mips64
@ 2025-04-08 20:24 Ladislav Michl
  2025-04-09  6:32 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2025-04-08 20:24 UTC (permalink / raw)
  To: ptxdist

Building openssl for 64bit mips requires different config, which is
easy to achieve:
--- 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

Harder part is where ARCH_LP64 to get from.
- make it selectable
- add ARCH_MIPS64
- ask used toolchain
- ???

Suggestions welcome,
	l.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-09  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 20:24 [ptxdist] OpenSSL for mips64 Ladislav Michl
2025-04-09  6:32 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox