Author: imp
Date: Fri Oct  9 01:48:14 2020
New Revision: 366559
URL: https://svnweb.freebsd.org/changeset/base/366559

Log:
  Create in-tree LINT files
  
  Now that config(8) has supported include for 19 years, transition to
  including the NOTES files. include support didn't exist at the time,
  nor did the envvar stuff recently added. Now that it does, eliminate
  the building of LINT files by just including everything you need.
  
  Note: This may cause conflicts with updating in some cases.
        find sys -name LINT\* -rm
  is suggested across this commit to remove the generated LINT
  files.
  
  Reviewed by: kevans
  Differential Revision: https://reviews.freebsd.org/D26540

Added:
  head/sys/amd64/conf/LINT   (contents, props changed)
  head/sys/amd64/conf/LINT-NOINET   (contents, props changed)
  head/sys/amd64/conf/LINT-NOINET6   (contents, props changed)
  head/sys/amd64/conf/LINT-NOIP   (contents, props changed)
  head/sys/arm/conf/LINT   (contents, props changed)
  head/sys/arm64/conf/LINT   (contents, props changed)
  head/sys/i386/conf/LINT   (contents, props changed)
  head/sys/i386/conf/LINT-NOINET   (contents, props changed)
  head/sys/i386/conf/LINT-NOINET6   (contents, props changed)
  head/sys/i386/conf/LINT-NOIP   (contents, props changed)
  head/sys/powerpc/conf/LINT   (contents, props changed)
  head/sys/powerpc/conf/LINT64   (contents, props changed)
Deleted:
  head/sys/amd64/conf/Makefile
  head/sys/arm/conf/Makefile
  head/sys/arm64/conf/Makefile
  head/sys/i386/conf/Makefile
  head/sys/powerpc/conf/Makefile
Modified:
  head/UPDATING

Modified: head/UPDATING
==============================================================================
--- head/UPDATING       Fri Oct  9 01:37:17 2020        (r366558)
+++ head/UPDATING       Fri Oct  9 01:48:14 2020        (r366559)
@@ -26,6 +26,19 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
        world, or to merely disable the most expensive debugging functionality
        at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20200923:
+       LINT files are no longer generated. We now include the relevant NOTES
+       files. Note: This may cause conflicts with updating in some cases.
+               find sys -name LINT\* -rm
+       is suggested across this commit to remove the generated LINT files.
+
+       If you have tried to update with generated files there, the svn
+       command you want to un-auger the tree is
+               cd sys/amd64/conf
+               svn revert -R .
+       and then do the above find from the top level. Substitute 'amd64'
+       above with where the error message indicates a conflict.
+
 20200824:
        OpenZFS support has been integrated. Do not upgrade root pools until
        the loader is updated to support zstd. Furthermore, we caution against

Added: head/sys/amd64/conf/LINT
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/amd64/conf/LINT    Fri Oct  9 01:48:14 2020        (r366559)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include "../../x86/conf/NOTES"
+include NOTES

Added: head/sys/amd64/conf/LINT-NOINET
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/amd64/conf/LINT-NOINET     Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+include LINT
+ident LINT-NOINET
+makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
+nooptions INET
+nodevice gre
+nodevice netmap

Added: head/sys/amd64/conf/LINT-NOINET6
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/amd64/conf/LINT-NOINET6    Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+include LINT
+ident LINT-NOINET6
+makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="
+nooptions INET6

Added: head/sys/amd64/conf/LINT-NOIP
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/amd64/conf/LINT-NOIP       Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+include LINT
+ident LINT-NOIP
+makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
+makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="
+nooptions INET
+nooptions INET6
+nodevice age
+nodevice alc
+nodevice ale
+nodevice bxe
+nodevice em
+nodevice fxp
+nodevice jme
+nodevice msk
+nodevice mxge
+nodevice sge
+nodevice sk
+nodevice txp
+nodevice netmap

Added: head/sys/arm/conf/LINT
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/arm/conf/LINT      Fri Oct  9 01:48:14 2020        (r366559)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES

Added: head/sys/arm64/conf/LINT
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/arm64/conf/LINT    Fri Oct  9 01:48:14 2020        (r366559)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES

Added: head/sys/i386/conf/LINT
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/i386/conf/LINT     Fri Oct  9 01:48:14 2020        (r366559)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include "../../x86/conf/NOTES"
+include NOTES

Added: head/sys/i386/conf/LINT-NOINET
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/i386/conf/LINT-NOINET      Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+include LINT
+ident LINT-NOINET
+makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
+nooptions INET
+nodevice gre
+nodevice netmap

Added: head/sys/i386/conf/LINT-NOINET6
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/i386/conf/LINT-NOINET6     Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+include LINT
+ident LINT-NOINET6
+makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="
+nooptions INET6

Added: head/sys/i386/conf/LINT-NOIP
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/i386/conf/LINT-NOIP        Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+include LINT
+ident LINT-NOIP
+makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
+makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="
+nooptions INET
+nooptions INET6
+nodevice age
+nodevice alc
+nodevice ale
+nodevice bxe
+nodevice em
+nodevice fxp
+nodevice jme
+nodevice msk
+nodevice mxge
+nodevice sge
+nodevice sk
+nodevice txp
+nodevice netmap

Added: head/sys/powerpc/conf/LINT
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/powerpc/conf/LINT  Fri Oct  9 01:48:14 2020        (r366559)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES
+machine                powerpc powerpc
+nodevice       mlx5
+nodevice       mlx5en
+nodevice       mlx5ib
+nooptions      RATELIMIT

Added: head/sys/powerpc/conf/LINT64
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/powerpc/conf/LINT64        Fri Oct  9 01:48:14 2020        
(r366559)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES
+machine                powerpc powerpc64
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to