git: 23e1961e78b0 - main - riscv: add COMPAT_FREEBSD12 option

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 17 Nov 2021 06:20:59 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=23e1961e78b0ac4d1cf03426d1a642962069f2b9

commit 23e1961e78b0ac4d1cf03426d1a642962069f2b9
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-16 19:46:26 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-17 02:08:14 +0000

    riscv: add COMPAT_FREEBSD12 option
    
    Turn on compat option for older FreeBSD versions (i.e. 12). We do not
    enable the compat options for 11 or older because riscv was never
    supported in those versions.
    
    Reviewed by:    jrtc27 (previous version)
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D33015
---
 sys/riscv/conf/GENERIC | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 4ce1cb6a3cda..28eb77ad4bc1 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -52,6 +52,7 @@ options 	TMPFS			# Efficient memory filesystem
 options 	GEOM_PART_GPT		# GUID Partition Tables.
 options 	GEOM_RAID		# Soft RAID functionality.
 options 	GEOM_LABEL		# Provides labelization
+options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
 options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
 options 	KTRACE			# ktrace(1) support
 options 	STACK			# stack(9) support