Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src if softfloat, Install a ld.so.conf to use libc_vfp.so if the...
details: https://anonhg.NetBSD.org/src/rev/ec59d24b341e
branches: trunk
changeset: 789461:ec59d24b341e
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 19 16:34:29 2013 +0000
description:
if softfloat, Install a ld.so.conf to use libc_vfp.so if there is a VFP on
evbarm (no other arm ports a CPU supporting VFP).
diffstat:
distrib/sets/lists/etc/md.evbarm | 2 ++
etc/Makefile | 4 ++--
etc/etc.evbarm/ld.so.conf | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 9788c4df2e2b -r ec59d24b341e distrib/sets/lists/etc/md.evbarm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sets/lists/etc/md.evbarm Mon Aug 19 16:34:29 2013 +0000
@@ -0,0 +1,2 @@
+# $NetBSD: md.evbarm,v 1.3 2013/08/19 16:34:30 matt Exp $
+./etc/ld.so.conf etc-sys-etc softfloat
diff -r 9788c4df2e2b -r ec59d24b341e etc/Makefile
--- a/etc/Makefile Mon Aug 19 14:58:57 2013 +0000
+++ b/etc/Makefile Mon Aug 19 16:34:29 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.409 2013/05/01 15:57:44 agc Exp $
+# $NetBSD: Makefile,v 1.410 2013/08/19 16:34:29 matt Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -105,7 +105,7 @@
BIN1+= disktab
.endif
-.if exists(etc.${MACHINE}/ld.so.conf)
+.if exists(etc.${MACHINE}/ld.so.conf) && empty(MACHINE_ARCH:M*arm*hf*)
BIN1+= etc.${MACHINE}/ld.so.conf
.endif
diff -r 9788c4df2e2b -r ec59d24b341e etc/etc.evbarm/ld.so.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.evbarm/ld.so.conf Mon Aug 19 16:34:29 2013 +0000
@@ -0,0 +1,1 @@
+libc.so.12 machdep.fpu_present 1:libc_vfp.so.0,libc.so.12
Home |
Main Index |
Thread Index |
Old Index