aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-04-12 18:19:54 +0200
committerTheo Buehler <tb@openbsd.org>2025-04-12 18:19:54 +0200
commit1e824a0d12df308df6995faf01616054a7a383b0 (patch)
treeb61cb73d1f6952eb4c73d59d65fd23c643505604 /crypto
parent33537646812ce13f5c6c257a6d44adeae259ef6e (diff)
parent1087da12fc815a84592454980cdcd5d34b07285b (diff)
downloadportable-1e824a0d12df308df6995faf01616054a7a383b0.tar.gz
portable-1e824a0d12df308df6995faf01616054a7a383b0.tar.bz2
portable-1e824a0d12df308df6995faf01616054a7a383b0.zip
Land 1147 - reenable mips32
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt2
-rw-r--r--crypto/Makefile.am3
-rw-r--r--crypto/arch/mips/crypto_arch.h21
3 files changed, 24 insertions, 2 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index a714059..64bccd8 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -781,7 +781,7 @@ elseif(HOST_MIPS64)
781 target_include_directories(crypto_obj PRIVATE arch/mips64) 781 target_include_directories(crypto_obj PRIVATE arch/mips64)
782 target_include_directories(crypto_obj PRIVATE bn/arch/mips64) 782 target_include_directories(crypto_obj PRIVATE bn/arch/mips64)
783elseif(HOST_MIPS) 783elseif(HOST_MIPS)
784 # XXX - can this go away? the directory doesn't exist... 784 target_include_directories(crypto_obj PRIVATE arch/mips)
785 target_include_directories(crypto_obj PRIVATE bn/arch/mips) 785 target_include_directories(crypto_obj PRIVATE bn/arch/mips)
786elseif(HOST_POWERPC) 786elseif(HOST_POWERPC)
787 target_include_directories(crypto_obj PRIVATE arch/powerpc) 787 target_include_directories(crypto_obj PRIVATE arch/powerpc)
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 0952494..d1c5b76 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -403,10 +403,11 @@ endif
403noinst_HEADERS += arch/loongarch64/crypto_arch.h 403noinst_HEADERS += arch/loongarch64/crypto_arch.h
404noinst_HEADERS += bn/arch/loongarch64/bn_arch.h 404noinst_HEADERS += bn/arch/loongarch64/bn_arch.h
405 405
406# XXX - do we still need this?
407if HOST_MIPS 406if HOST_MIPS
407libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips/
408libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips/ 408libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips/
409endif 409endif
410noinst_HEADERS += arch/mips/crypto_arch.h
410noinst_HEADERS += bn/arch/mips/bn_arch.h 411noinst_HEADERS += bn/arch/mips/bn_arch.h
411 412
412if HOST_MIPS64 413if HOST_MIPS64
diff --git a/crypto/arch/mips/crypto_arch.h b/crypto/arch/mips/crypto_arch.h
new file mode 100644
index 0000000..274879c
--- /dev/null
+++ b/crypto/arch/mips/crypto_arch.h
@@ -0,0 +1,21 @@
1/* $OpenBSD$ */
2/*
3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef HEADER_CRYPTO_ARCH_H
19#define HEADER_CRYPTO_ARCH_H
20
21#endif