Date: Mon, 24 Feb 2020 16:42:45 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358293 - in head/sys: conf riscv/conf Message-ID: <202002241642.01OGgjMw036774@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002241642.01OGgjMw036774>