Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97682289
D24544.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24544.diff
View Options
Index: head/sys/conf/Makefile.riscv
===================================================================
--- head/sys/conf/Makefile.riscv
+++ head/sys/conf/Makefile.riscv
@@ -19,7 +19,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 600017
+%VERSREQ= 600012
.if !defined(S)
S= ../../..
Index: head/sys/conf/kern.mk
===================================================================
--- head/sys/conf/kern.mk
+++ head/sys/conf/kern.mk
@@ -150,11 +150,7 @@
# 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
Index: head/sys/riscv/conf/GENERICSF
===================================================================
--- head/sys/riscv/conf/GENERICSF
+++ head/sys/riscv/conf/GENERICSF
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 1, 6:26 PM (22 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13270660
Default Alt Text
D24544.diff (1 KB)
Attached To
Mode
D24544: Retire the GENERICSF kernel config.
Attached
Detach File
Event Timeline
Log In to Comment