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).
This commit is contained in:
matt 2013-08-19 16:34:29 +00:00
parent 4c12d81ae9
commit 3c46e5578f
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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+= etc.${MACHINE}/disktab
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

View File

@ -0,0 +1 @@
libc.so.12 machdep.fpu_present 1:libc_vfp.so.0,libc.so.12