aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-03-23 06:35:41 -0500
committerBrent Cook <busterb@gmail.com>2023-03-23 06:35:41 -0500
commit6501696dd7669b3d20d69beffc508c46f0a807da (patch)
tree97aa5999879893746df35315fa74343e5f095672
parentdc7d38d52f829f77d60ddeb31546d20783d73498 (diff)
downloadportable-6501696dd7669b3d20d69beffc508c46f0a807da.tar.gz
portable-6501696dd7669b3d20d69beffc508c46f0a807da.tar.bz2
portable-6501696dd7669b3d20d69beffc508c46f0a807da.zip
generate opensslconf.h for mips
-rw-r--r--include/CMakeLists.txt2
-rw-r--r--include/Makefile.am1
-rw-r--r--include/openssl/Makefile.am.tpl3
-rwxr-xr-xupdate.sh2
4 files changed, 7 insertions, 1 deletions
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)
13 file(READ arch/arm/opensslconf.h OPENSSLCONF) 13 file(READ arch/arm/opensslconf.h OPENSSLCONF)
14elseif(HOST_I386) 14elseif(HOST_I386)
15 file(READ arch/i386/opensslconf.h OPENSSLCONF) 15 file(READ arch/i386/opensslconf.h OPENSSLCONF)
16elseif(HOST_MIPS)
17 file(READ arch/mips/opensslconf.h OPENSSLCONF)
16elseif(HOST_MIPS64) 18elseif(HOST_MIPS64)
17 file(READ arch/mips64/opensslconf.h OPENSSLCONF) 19 file(READ arch/mips64/opensslconf.h OPENSSLCONF)
18elseif(HOST_POWERPC) 20elseif(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
51noinst_HEADERS += arch/hppa/opensslconf.h 51noinst_HEADERS += arch/hppa/opensslconf.h
52noinst_HEADERS += arch/i386/opensslconf.h 52noinst_HEADERS += arch/i386/opensslconf.h
53noinst_HEADERS += arch/m88k/opensslconf.h 53noinst_HEADERS += arch/m88k/opensslconf.h
54noinst_HEADERS += arch/mips/opensslconf.h
54noinst_HEADERS += arch/mips64/opensslconf.h 55noinst_HEADERS += arch/mips64/opensslconf.h
55noinst_HEADERS += arch/powerpc/opensslconf.h 56noinst_HEADERS += arch/powerpc/opensslconf.h
56noinst_HEADERS += arch/powerpc64/opensslconf.h 57noinst_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
17if HOST_I386 17if HOST_I386
18 -cp $(top_srcdir)/include/arch/i386/opensslconf.h opensslconf.h 18 -cp $(top_srcdir)/include/arch/i386/opensslconf.h opensslconf.h
19endif 19endif
20if HOST_MIPS
21 -cp $(top_srcdir)/include/arch/mips/opensslconf.h opensslconf.h
22endif
20if HOST_MIPS64 23if HOST_MIPS64
21 -cp $(top_srcdir)/include/arch/mips64/opensslconf.h opensslconf.h 24 -cp $(top_srcdir)/include/arch/mips64/opensslconf.h opensslconf.h
22endif 25endif
diff --git a/update.sh b/update.sh
index cac95ca..15d5006 100755
--- a/update.sh
+++ b/update.sh
@@ -219,7 +219,7 @@ gen_asm() {
219 fi 219 fi
220} 220}
221 221
222#echo generating mips ASM source for elf 222echo generating mips ASM source for elf
223gen_asm_mips o32 aes aes-mips aes-mips 223gen_asm_mips o32 aes aes-mips aes-mips
224gen_asm_mips o32 bn mips bn-mips 224gen_asm_mips o32 bn mips bn-mips
225gen_asm_mips o32 bn mips-mont mont-mips 225gen_asm_mips o32 bn mips-mont mont-mips