Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin bin: in builds with MKLINT=yes, run lint on all programs
details: https://anonhg.NetBSD.org/src/rev/0e3d11c54d03
branches: trunk
changeset: 989015:0e3d11c54d03
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Oct 09 21:06:31 2021 +0000
description:
bin: in builds with MKLINT=yes, run lint on all programs
diffstat:
bin/Makefile.inc | 6 +++++-
bin/sh/Makefile | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 17106bda67e3 -r 0e3d11c54d03 bin/Makefile.inc
--- a/bin/Makefile.inc Sat Oct 09 21:02:53 2021 +0000
+++ b/bin/Makefile.inc Sat Oct 09 21:06:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.17 2012/03/21 05:47:53 matt Exp $
+# $NetBSD: Makefile.inc,v 1.18 2021/10/09 21:06:31 rillig Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk> # for MKDYNAMICROOT definition
@@ -9,3 +9,7 @@
.if (${MKDYNAMICROOT} == "no")
LDSTATIC?= -static
.endif
+
+.if ${MKLINT} != "no" && ${LINT_SUPPORTED:Uyes} == "yes"
+realall: lint
+.endif
diff -r 17106bda67e3 -r 0e3d11c54d03 bin/sh/Makefile
--- a/bin/sh/Makefile Sat Oct 09 21:02:53 2021 +0000
+++ b/bin/sh/Makefile Sat Oct 09 21:06:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2021/10/09 21:02:53 rillig Exp $
+# $NetBSD: Makefile,v 1.119 2021/10/09 21:06:31 rillig Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@@ -30,7 +30,7 @@
#COPTS+=-g
#CFLAGS+=-funsigned-char
#TARGET_CHARFLAG?= -DTARGET_CHAR="unsigned char" -funsigned-char
-#LINTFLAGS+= -X 323 # continue in 'do ... while (0)' loop
+LINTFLAGS+= -X 323 # continue in 'do ... while (0)' loop
# Reproducible build parameters ... export into sh for NETBSD_SHELL setting
.if ${MKREPRO_TIMESTAMP:Uno} != "no"
Home |
Main Index |
Thread Index |
Old Index