summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2016-10-11 17:02:28 +0000
committermacallan <macallan@NetBSD.org>2016-10-11 17:02:28 +0000
commit457f078242add94d4de5d1033bb21895c5cdf115 (patch)
treea00ceba8f416337ccd7e6a0fb3136cbbe8e78e0e /lib/Makefile
parente257cb554f5749e0d579e66c9e57ea4963e40f8a (diff)
build and install libc_fp on mips
use with LD_PRELOAD=/lib/libc_fp.so for FPU use via softfloat
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 06d85fa9ef0..89cef7c46d7 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.246 2016/08/20 11:22:26 christos Exp $
+# $NetBSD: Makefile,v 1.247 2016/10/11 17:02:28 macallan Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -40,6 +40,9 @@ LIBC_MACHINE_CPU?=${MACHINE_CPU}
SUBDIR+= libc_vfp
.endif
.endif
+.if ${MACHINE_CPU} == "mips"
+SUBDIR+= libc_fp
+.endif
.if (${MKRUMP} != "no")
SUBDIR+= librumpclient
.endif