From owner-svn-src-all@freebsd.org Tue Jul 3 20:02:23 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B467C102122C; Tue, 3 Jul 2018 20:02:23 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E293957B4; Tue, 3 Jul 2018 20:02:22 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id aRShfMF72bP3IaRSifMCbd; Tue, 03 Jul 2018 13:59:46 -0600 X-Authority-Analysis: v=2.3 cv=P64UeBIu c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=R9QF1RCXAYgA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=yN6hIjXqmFj_shh0iqYA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 287EE742; Tue, 3 Jul 2018 12:59:42 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w63JxPm9069047; Tue, 3 Jul 2018 12:59:25 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w63JxPA2069044; Tue, 3 Jul 2018 12:59:25 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201807031959.w63JxPA2069044@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Bryan Drewery cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r335906 - head/sys/conf In-Reply-To: Message from Bryan Drewery of "Tue, 03 Jul 2018 19:24:44 -0000." <201807031924.w63JOi5W051614@repo.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Jul 2018 12:59:25 -0700 X-CMAE-Envelope: MS4wfFM2J1VTWJaGPCu8LvQSnnPKyh2RnlfpnV/FisMqvlK+6mLsRXW3TW26s5fWfZhVvmwKhECVzUWtxVSPN+A8gtzl6Lat1VhGrLCEQVNh0ELuy9CP+Bc2 orMQROeeJMrxf3MO2YQMvUcWRZuMfiXHO8m+NLQMHxeFj1kcazRBVJvGrdzxHzWAd4XDyso33Bw4SP4VSU1NvgXN+fHRPvZzgJGQdAWipGNEftLqTBXGtblR hl9VqWAoshptn1oNiUNgKRxpJB9Z2dLAUI+Z9NUzzCGjBOwXRuuSZZ1luHaq8LrA X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 20:02:23 -0000 In message <201807031924.w63JOi5W051614@repo.freebsd.org>, Bryan Drewery writes : > Author: bdrewery > Date: Tue Jul 3 19:24:44 2018 > New Revision: 335906 > URL: https://svnweb.freebsd.org/changeset/base/335906 > > Log: > No need to make a copy to build genoffset_test.o > > Modified: > head/sys/conf/kern.post.mk > > Modified: head/sys/conf/kern.post.mk > ============================================================================= > = > --- head/sys/conf/kern.post.mk Tue Jul 3 19:09:46 2018 (r33590 > 5) > +++ head/sys/conf/kern.post.mk Tue Jul 3 19:24:44 2018 (r33590 > 6) > @@ -191,14 +191,12 @@ offset.inc: $S/kern/genoffset.sh genoffset.o > genoffset.o: $S/kern/genoffset.c > ${CC} -c ${CFLAGS:N-flto:N-fno-common} $S/kern/genoffset.c > > -genoffset_test.c: $S/kern/genoffset.c > - cp $S/kern/genoffset.c genoffset_test.c > - > # genoffset_test.o is not actually used for anything - the point of compilin > g it > # is to exercise the CTASSERT that checks that the offsets in the offset.inc > # _lite struct(s) match those in the original(s). > -genoffset_test.o: genoffset_test.c offset.inc > - ${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST genoffset_test.c > +genoffset_test.o: $S/kern/genoffset.c offset.inc > + ${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST ${.ALLSRC:M*.c} \ > + -o ${.TARGET} -o with -c in the previous line will cause an error. > > assym.inc: $S/kern/genassym.sh genassym.o genoffset_test.o > NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh genassym.o > ${. > TARGET} > -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.