Add a soft-float riscv kernel config

GENERICSF is just like GENERIC, only creates a soft-float kernel. Omit it from the
universe build for now.

Reviewed by: philip
Differential Revision: https://reviews.freebsd.org/D23812
This commit is contained in:
Warner Losh 2020-02-24 16:42:44 +00:00
parent 65289c9963
commit 990a56e866
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358293
3 changed files with 11 additions and 1 deletions

View File

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

View File

@ -306,4 +306,5 @@ LD_EMULATION_powerpc= elf32ppc_fbsd
LD_EMULATION_powerpcspe= elf32ppc_fbsd
LD_EMULATION_powerpc64= elf64ppc_fbsd
LD_EMULATION_riscv64= elf64lriscv
LD_EMULATION_riscv64sf= elf64lriscv
LD_EMULATION=${LD_EMULATION_${MACHINE_ARCH}}

9
sys/riscv/conf/GENERICSF Normal file
View File

@ -0,0 +1,9 @@
# $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