mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
Remove a few more references to riscv64sf.
Fixes: 1ca12bd927d7 Remove the riscv64sf architecture.
This commit is contained in:
parent
1fef7abdc7
commit
47e888f836
@ -125,8 +125,7 @@ NOASM=
|
||||
.include "${LIBC_SRCTOP}/rpc/Makefile.inc"
|
||||
.include "${LIBC_SRCTOP}/uuid/Makefile.inc"
|
||||
.include "${LIBC_SRCTOP}/xdr/Makefile.inc"
|
||||
.if (${LIBC_ARCH} == "arm" && (defined(CPUTYPE) && ${CPUTYPE:M*soft*})) || \
|
||||
(${LIBC_ARCH} == "riscv" && ${MACHINE_ARCH:Mriscv*sf} != "")
|
||||
.if (${LIBC_ARCH} == "arm" && (defined(CPUTYPE) && ${CPUTYPE:M*soft*}))
|
||||
.include "${LIBC_SRCTOP}/softfloat/Makefile.inc"
|
||||
.endif
|
||||
.if ${LIBC_ARCH} == "i386" || ${LIBC_ARCH} == "amd64"
|
||||
|
@ -246,7 +246,3 @@ SRCS+= switch8.S
|
||||
SRCS+= switchu8.S
|
||||
SRCS+= sync_synchronize.S
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:Mriscv*sf}
|
||||
CFLAGS+= -D__SOFT_FP__
|
||||
.endif
|
||||
|
@ -317,12 +317,8 @@ CFLAGS.gcc+= -mabi=spe -mfloat-gprs=double -Wa,-me500
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
.if ${MACHINE_ARCH:Mriscv*sf}
|
||||
CFLAGS += -march=rv64imac -mabi=lp64
|
||||
.else
|
||||
CFLAGS += -march=rv64imafdc -mabi=lp64d
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
|
||||
|
||||
@ -367,8 +363,7 @@ CXXFLAGS += ${CXXFLAGS.${MACHINE_ARCH}}
|
||||
# Size of time_t: time32, time64
|
||||
#
|
||||
.if (${MACHINE} == "arm" && (defined(CPUTYPE) && ${CPUTYPE:M*soft*})) || \
|
||||
(${MACHINE_ARCH} == "powerpc" && (defined(CPUTYPE) && ${CPUTYPE} == "e500")) || \
|
||||
${MACHINE_ARCH:Mriscv*sf*}
|
||||
(${MACHINE_ARCH} == "powerpc" && (defined(CPUTYPE) && ${CPUTYPE} == "e500"))
|
||||
MACHINE_ABI+= soft-float
|
||||
.else
|
||||
MACHINE_ABI+= hard-float
|
||||
|
Loading…
x
Reference in New Issue
Block a user