From owner-cvs-all Wed May 1 16:58:18 2002 Delivered-To: cvs-all@freebsd.org Received: from turbine.trit.org (turbine.trit.org [63.198.170.141]) by hub.freebsd.org (Postfix) with ESMTP id 9B17C37B417; Wed, 1 May 2002 16:57:50 -0700 (PDT) Received: from turbine.trit.org (localhost [127.0.0.1]) by turbine.trit.org (Postfix) with ESMTP id ACE123F71; Wed, 1 May 2002 23:57:43 +0000 (UTC) To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf kmod.mk In-Reply-To: <200205011924.g41JOQJ55987@freefall.freebsd.org>; from imp@FreeBSD.org on "Wed, 1 May 2002 12:24:26 -0700 (PDT)" Date: Wed, 01 May 2002 23:57:39 +0000 From: Dima Dorfman Message-Id: <20020501235744.ACE123F71@turbine.trit.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Warner Losh wrote: > Log: > We don't need no stinkin' echos here. ... > Index: src/sys/conf/kmod.mk > diff -u src/sys/conf/kmod.mk:1.122 src/sys/conf/kmod.mk:1.123 > --- src/sys/conf/kmod.mk:1.122 Tue Apr 30 20:28:14 2002 > +++ src/sys/conf/kmod.mk Wed May 1 12:24:26 2002 > @@ -170,6 +170,9 @@ > .endif > .endif > > +.if !exists(/usr/sbin/kldxref) > +NO_XREF=yes > +.endif > > _ILINKS=@ machine > > @@ -257,9 +260,7 @@ > done; true > .endif > .if !defined(NO_XREF) > - @echo "FAILURES HERE ARE OK" > -kldxref ${DESTDIR}${KMODDIR} Since we don't get here when kldxref doesn't exist any more, shouldn't we get rid of the '-'? I.e., make the last line read: kldxref ${DESTDIR}${KMODDIR} Or are their other failure modes we want to ignore? > - @echo "END OF SECTION WHERE FAILURES ARE OK" > .endif > .endif > > @@ -345,5 +346,4 @@ > .endif > > .include > - > .include > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message