aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/conf
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-10-09 01:48:14 +0000
committerWarner Losh <imp@FreeBSD.org>2020-10-09 01:48:14 +0000
commit7e46dafa582b8c34290c95fa2ce7e105c4329b3c (patch)
treecb47c24e0f24940a4cc047259ec9210b5c2c7a4a /sys/powerpc/conf
parent19fe23fa2bd52d6a42fb408d21b9d49c4bee81ef (diff)
downloadsrc-7e46dafa582b8c34290c95fa2ce7e105c4329b3c.tar.gz
src-7e46dafa582b8c34290c95fa2ce7e105c4329b3c.zip
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
Notes
Notes: svn path=/head/; revision=366559
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r--sys/powerpc/conf/LINT9
-rw-r--r--sys/powerpc/conf/LINT645
-rw-r--r--sys/powerpc/conf/Makefile5
3 files changed, 14 insertions, 5 deletions
diff --git a/sys/powerpc/conf/LINT b/sys/powerpc/conf/LINT
new file mode 100644
index 000000000000..49cb4483a0f0
--- /dev/null
+++ b/sys/powerpc/conf/LINT
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES
+machine powerpc powerpc
+nodevice mlx5
+nodevice mlx5en
+nodevice mlx5ib
+nooptions RATELIMIT
diff --git a/sys/powerpc/conf/LINT64 b/sys/powerpc/conf/LINT64
new file mode 100644
index 000000000000..58e8a55f2199
--- /dev/null
+++ b/sys/powerpc/conf/LINT64
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+include "../../conf/NOTES"
+include NOTES
+machine powerpc powerpc64
diff --git a/sys/powerpc/conf/Makefile b/sys/powerpc/conf/Makefile
deleted file mode 100644
index 562bc4693cde..000000000000
--- a/sys/powerpc/conf/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-TARGET=powerpc
-
-.include "${.CURDIR}/../../conf/makeLINT.mk"