Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2004 16:11:40 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Geert Hendrickx <geert.hendrickx@ua.ac.be>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld: build changes only?
Message-ID:  <20040702231140.GA55501@xor.obsecurity.org>
In-Reply-To: <20040701225452.GA16898@lori.mine.nu>
References:  <20040701225452.GA16898@lori.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 02, 2004 at 12:54:53AM +0200, Geert Hendrickx wrote:
> Hi,=20
>=20
> I'm keeping track of -STABLE on semi-regular basis.  But when I cvsup to
> the latest sources and do make buildworld, it always starts to rebuild
> the world entirely from scratch.  That's somewhat frustrating,
> especially if cvsup showed only a screenful of changes. =20
>=20
> Is it possible to rebuild these changes only?  I know I could cd to the
> directory of each changed file and do a make install there, but that is
> of course not quite practical.  I suppose this could be automated, since
> this was exactly the design principle of make: rebuild changed sources
> only. =20
>=20
> I know this might brake some dependencies in some cases, but I expect
> this to be rare.  I could still do a "full" buildworld when necessary. =
=20
>=20
> Any suggestions? =20

The only safe way to rebuild is with the full documented cycle that
includes a buildworld.  "Unsafe" means "may leave you with an unusable
system".  If you want to play around with other make targets you can
indeed short-cut the build process a lot of the time, but you're
expected to be advanced enough to recover your system on your own when
you damage something, and that pretty much means being able to figure
out how to use the make shortcuts on your own :-)

Kris


--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA5eusWry0BWjoQKURAk0jAJ9hh/gJaw+Bb7pj12EYVEha00m1eACg0c6I
BkLU9zql+9neZTSiQIFGp+U=
=ztMN
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040702231140.GA55501>