Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf use -X to ignore static function unused warnings, a...
details: https://anonhg.NetBSD.org/src/rev/bc09e71ae769
branches: trunk
changeset: 538659:bc09e71ae769
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 24 20:52:38 2002 +0000
description:
use -X to ignore static function unused warnings, and echo the command.
diffstat:
sys/conf/Makefile.kern.inc | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 3905b27324e8 -r bc09e71ae769 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Thu Oct 24 20:41:59 2002 +0000
+++ b/sys/conf/Makefile.kern.inc Thu Oct 24 20:52:38 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.25 2002/10/06 00:07:17 fvdl Exp $
+# $NetBSD: Makefile.kern.inc,v 1.26 2002/10/24 20:52:38 christos Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. There are
@@ -253,9 +253,11 @@
awk -f $S/kern/genlintstub.awk >${.TARGET}
.endfor
lint: ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES}
+# Ignore static function unused warnings [236]
+ @echo ${LINT} ${KERNLINTFLAGS} ${CPPFLAGS} -UKGDB -X 236 \
+ '$${CFILES} $${LINTSTUBS} $${MI_CFILES} $${MD_CFILES}'
@${LINT} ${KERNLINTFLAGS} ${CPPFLAGS} -UKGDB \
- ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} | \
- grep -v 'static function .* unused'
+ ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES}
.endif
.if !target(install)
Home |
Main Index |
Thread Index |
Old Index