Start to split out the really x86 specific NOTES from the global notes file.

Start with COMPAT_43, since it's really only relevant to x86.

Reviewed by: jhb@
Differential Revision: https://reviews.freebsd.org/D21203
This commit is contained in:
imp 2019-08-12 22:58:13 +00:00
parent 1f637fc2df
commit 20fde27184
5 changed files with 16 additions and 11 deletions

View File

@ -2,4 +2,5 @@
TARGET=amd64 TARGET=amd64
NOTES= ${.CURDIR}/../../x86/conf/NOTES
.include "${.CURDIR}/../../conf/makeLINT.mk" .include "${.CURDIR}/../../conf/makeLINT.mk"

View File

@ -339,16 +339,6 @@ options UMTX_PROFILING
##################################################################### #####################################################################
# COMPATIBILITY OPTIONS # COMPATIBILITY OPTIONS
#
# Implement system calls compatible with 4.3BSD and older versions of
# FreeBSD. You probably do NOT want to remove this as much current code
# still relies on the 4.3 emulation. Note that some architectures that
# are supported by FreeBSD do not include support for certain important
# aspects of this compatibility option, namely those related to the
# signal delivery mechanism.
#
options COMPAT_43
# Old tty interface. # Old tty interface.
options COMPAT_43TTY options COMPAT_43TTY

View File

@ -12,7 +12,7 @@ clean:
rm -f LINT-NOINET LINT-NOINET6 LINT-NOIP rm -f LINT-NOINET LINT-NOINET6 LINT-NOIP
.endif .endif
NOTES= ${.CURDIR}/../../conf/NOTES ${.CURDIR}/NOTES NOTES+= ${.CURDIR}/../../conf/NOTES ${.CURDIR}/NOTES
MAKELINT_SED= ${.CURDIR}/../../conf/makeLINT.sed MAKELINT_SED= ${.CURDIR}/../../conf/makeLINT.sed
LINT: ${NOTES} ${MAKELINT_SED} LINT: ${NOTES} ${MAKELINT_SED}
cat ${NOTES} | sed -E -n -f ${MAKELINT_SED} > ${.TARGET} cat ${NOTES} | sed -E -n -f ${MAKELINT_SED} > ${.TARGET}

View File

@ -2,4 +2,5 @@
TARGET=i386 TARGET=i386
NOTES= ${.CURDIR}/../../x86/conf/NOTES
.include "${.CURDIR}/../../conf/makeLINT.mk" .include "${.CURDIR}/../../conf/makeLINT.mk"

13
sys/x86/conf/NOTES Normal file
View File

@ -0,0 +1,13 @@
# $FreeBSD$
#
# Common NOTES between i386 and amd64
#####################################################################
# COMPATIBILITY OPTIONS
# Implement system calls compatible with 4.3BSD and older versions of
# FreeBSD. Needed for FreeBSD a.out support. Unneeded for ELF
# versions of FreeBSD.
options COMPAT_43