Author: imp
Date: Mon Feb 24 16:42:44 2020
New Revision: 358293
URL: https://svnweb.freebsd.org/changeset/base/358293

Log:
  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

Added:
  head/sys/riscv/conf/GENERICSF   (contents, props changed)
Modified:
  head/sys/conf/Makefile.riscv
  head/sys/conf/kern.mk

Modified: head/sys/conf/Makefile.riscv
==============================================================================
--- head/sys/conf/Makefile.riscv        Mon Feb 24 16:41:29 2020        
(r358292)
+++ head/sys/conf/Makefile.riscv        Mon Feb 24 16:42:44 2020        
(r358293)
@@ -19,7 +19,7 @@
 #
 
 # Which version of config(8) is required.
-%VERSREQ=      600012
+%VERSREQ=      600017
 
 .if !defined(S)
 S=     ../../..

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk       Mon Feb 24 16:41:29 2020        (r358292)
+++ head/sys/conf/kern.mk       Mon Feb 24 16:42:44 2020        (r358293)
@@ -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}}

Added: head/sys/riscv/conf/GENERICSF
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/riscv/conf/GENERICSF       Mon Feb 24 16:42:44 2020        
(r358293)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to