Date: Tue, 03 Jul 2018 12:59:25 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r335906 - head/sys/conf Message-ID: <201807031959.w63JxPA2069044@slippy.cwsent.com> In-Reply-To: Message from Bryan Drewery <bdrewery@FreeBSD.org> of "Tue, 03 Jul 2018 19:24:44 -0000." <201807031924.w63JOi5W051614@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807031959.w63JxPA2069044>