On Tue, Apr 08, 2025 at 10:24:59PM +0200, Ladislav Michl wrote: > 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
That one, probably similar to what we do for x86_64, so that ARCH_MIPS and ARCH_MIPS64 are enabled at the same time. Michael > - ask used toolchain > - ??? > > Suggestions welcome, > l. > > -- 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 |