From 6501696dd7669b3d20d69beffc508c46f0a807da Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 23 Mar 2023 06:35:41 -0500 Subject: generate opensslconf.h for mips --- include/CMakeLists.txt | 2 ++ include/Makefile.am | 1 + include/openssl/Makefile.am.tpl | 3 +++ update.sh | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index a08a781..44ab86b 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -13,6 +13,8 @@ elseif(HOST_ARM) file(READ arch/arm/opensslconf.h OPENSSLCONF) elseif(HOST_I386) file(READ arch/i386/opensslconf.h OPENSSLCONF) +elseif(HOST_MIPS) + file(READ arch/mips/opensslconf.h OPENSSLCONF) elseif(HOST_MIPS64) file(READ arch/mips64/opensslconf.h OPENSSLCONF) elseif(HOST_POWERPC) diff --git a/include/Makefile.am b/include/Makefile.am index 26e82fe..077637d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -51,6 +51,7 @@ noinst_HEADERS += arch/arm/opensslconf.h noinst_HEADERS += arch/hppa/opensslconf.h noinst_HEADERS += arch/i386/opensslconf.h noinst_HEADERS += arch/m88k/opensslconf.h +noinst_HEADERS += arch/mips/opensslconf.h noinst_HEADERS += arch/mips64/opensslconf.h noinst_HEADERS += arch/powerpc/opensslconf.h noinst_HEADERS += arch/powerpc64/opensslconf.h diff --git a/include/openssl/Makefile.am.tpl b/include/openssl/Makefile.am.tpl index 2f67d10..303d0b9 100644 --- a/include/openssl/Makefile.am.tpl +++ b/include/openssl/Makefile.am.tpl @@ -17,6 +17,9 @@ endif if HOST_I386 -cp $(top_srcdir)/include/arch/i386/opensslconf.h opensslconf.h endif +if HOST_MIPS + -cp $(top_srcdir)/include/arch/mips/opensslconf.h opensslconf.h +endif if HOST_MIPS64 -cp $(top_srcdir)/include/arch/mips64/opensslconf.h opensslconf.h endif diff --git a/update.sh b/update.sh index cac95ca..15d5006 100755 --- a/update.sh +++ b/update.sh @@ -219,7 +219,7 @@ gen_asm() { fi } -#echo generating mips ASM source for elf +echo generating mips ASM source for elf gen_asm_mips o32 aes aes-mips aes-mips gen_asm_mips o32 bn mips bn-mips gen_asm_mips o32 bn mips-mont mont-mips -- cgit v1.2.3-55-g6feb