Date: Sat, 30 Mar 2013 21:03:02 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Andrew Turner <andrew@FreeBSD.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r248937 - head Message-ID: <10073ABA-A83A-4D20-AD83-01AD611D8F85@gmail.com> In-Reply-To: <201303310203.r2V23YfI055651@svn.freebsd.org> References: <201303310203.r2V23YfI055651@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Awesome--thanks! -Garrett Sent from my iPhone On Mar 30, 2013, at 7:03 PM, Andrew Turner <andrew@FreeBSD.org> wrote: > Author: andrew > Date: Sun Mar 31 02:03:34 2013 > New Revision: 248937 > URL: http://svnweb.freebsd.org/changeset/base/248937 >=20 > Log: > When building universe ensure the required worlds are finished before > starting the kernels. Before this the kernels would be built as part of t= he > last architecture universe target. There can cause problems when this wor= ld > finishes before the other worlds as the host compiler may be picked up > rather than the target compiler. >=20 > The solution is to add a target to build the universe kernels that depend= s > on all the world targets finishing. As we may not be building a world onl= y > depend on it when MAKE_JUST_KERNELS is undefined. >=20 > Modified: > head/Makefile >=20 > Modified: head/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- head/Makefile Sat Mar 30 20:57:35 2013 (r248936) > +++ head/Makefile Sun Mar 31 02:03:34 2013 (r248937) > @@ -392,6 +392,14 @@ universe_${target}_${target_arch}: unive > .endfor > .endif > .if !defined(MAKE_JUST_WORLDS) > +# If we are building world and kernels wait for the required worlds to fi= nish > +.if !defined(MAKE_JUST_KERNELS) > +.for target_arch in ${TARGET_ARCHES_${target}} > +universe_${target}_kernels: universe_${target}_${target_arch} > +.endfor > +.endif > +universe_${target}: universe_${target}_kernels > +universe_${target}_kernels: universe_${target}_prologue > .if exists(${KERNSRCDIR}/${target}/conf/NOTES) > @(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=3D/dev/null \ > ${MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10073ABA-A83A-4D20-AD83-01AD611D8F85>