git: 576d71e383f1 - stable/13 - riscv: add COMPAT_FREEBSD12 option

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 16:58:46 UTC
The branch stable/13 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=576d71e383f10cde0de14da16baf98835d51ecec

commit 576d71e383f10cde0de14da16baf98835d51ecec
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-16 19:46:26 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-24 16:45:51 +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
    
    (cherry picked from commit 23e1961e78b0ac4d1cf03426d1a642962069f2b9)
---
 sys/riscv/conf/GENERIC | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 8c3162d6ae1e..4ce3ffe059ba 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