From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] OpenSSL for mips64
Date: Tue, 8 Apr 2025 22:24:59 +0200 [thread overview]
Message-ID: <Z_WGG9x9C5i964K-@lenoch> (raw)
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.
next reply other threads:[~2025-04-08 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 20:24 Ladislav Michl [this message]
2025-04-09 6:32 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z_WGG9x9C5i964K-@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox