Date: Wed, 11 Aug 2004 09:48:00 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: current@freebsd.org Subject: Re: make -DRESTART buildworld Message-ID: <20040811064800.GF80234@ip.net.ua> In-Reply-To: <4119512A.6070001@elischer.org> References: <4119512A.6070001@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0rSojgWGcpz+ezC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 03:50:18PM -0700, Julian Elischer wrote: >=20 > Could someone who knows the buildworld target give a comment as to=20 > whether it would > be possible to do a -DRESTART option? >=20 > I have done -DNOCLEAN but it still does quite a bit.. > it would be nice to have an option that did > -DNOCLEAN and -DNO_TOOLS -DNO_MKDEP and -DNO_CHROOTLIBS > (if they existed, and went straight to doing the build where it left off= =20 > (and where you > probably fixed the problem.. >=20 > it's really annoying to have to restart the buildworld after if falls=20 > over 95% through and have it start > at the beginning again.. >=20 ``make -f Makefile.inc1 -V WMAKE_TGTS'' will give you an ordered list of buildworld subtargets, so you can control where exactly you want to restart (no checking is done!). You can call of these targets, even underscored ones, from the main src/Makefile (with plain "make <tgt>"). I often use ``make everything'', the last stage of buildworld, to restart a failed but almost complete buildworld. This is probably exactly what you're looking for at the moment. You can even limit the scope of the rebuild as follows (to check if you've really fixed your problem, and assuming all previous buildworld substages completed successfully): make everything SUBDIR_OVERRIDE=3D"bin/test usr.bin/vacation" Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --0rSojgWGcpz+ezC3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBGcEgqRfpzJluFF4RAspoAJ9RVIfLQhLFCDue4v5FK8oV0XKVXACcDEnE okSjJlRqjDmaKrGLGvWPhkg= =Am8T -----END PGP SIGNATURE----- --0rSojgWGcpz+ezC3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040811064800.GF80234>