1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Retire the GENERICSF kernel config.

Now that hw.machine_arch handles soft-float vs hard-float there is no
longer a reason for this config.

Submitted by:	mhorne (kern.mk hunk)
Reviewed by:	imp (earlier version), kp
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24544
This commit is contained in:
John Baldwin 2020-04-27 21:51:22 +00:00
parent b9f767ebd2
commit 02343a67c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360397
3 changed files with 1 additions and 14 deletions

View File

@ -19,7 +19,7 @@
#
# Which version of config(8) is required.
%VERSREQ= 600017
%VERSREQ= 600012
.if !defined(S)
S= ../../..

View File

@ -150,11 +150,7 @@ INLINE_LIMIT?= 8000
# code model as "medium" and "medany" respectively.
#
.if ${MACHINE_CPUARCH} == "riscv"
.if ${MACHINE_ARCH:Mriscv*sf}
CFLAGS+= -march=rv64imac
.else
CFLAGS+= -march=rv64imafdc
.endif
CFLAGS+= -mabi=lp64
CFLAGS.clang+= -mcmodel=medium
CFLAGS.gcc+= -mcmodel=medany

View File

@ -1,9 +0,0 @@
# $FreeBSD$
# Just like generic, but with a riscv64sf MACHINE_ARCH. Override machine set in
# DEFAULTS.
machine riscv riscv64sf
include "GENERIC"
ident GENERICSF
nooptions FPE # for systems without FPE