Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2005 14:31:50 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Doug Poland <doug@polands.org>
Cc:        f-questions List <freebsd-questions@freebsd.org>
Subject:   Re: 5.3 Building Kernel/World
Message-ID:  <20050118123150.GA2335@orion.daedalusnetworks.priv>
In-Reply-To: <20050117203022.GB7893@polands.org>
References:  <CC0E9838-684B-11D9-8611-000393681B06@lafn.org> <20050117060510.GA63358@xor.obsecurity.org> <8DC9B67A-6857-11D9-8611-000393681B06@lafn.org> <20050117071900.GA92079@xor.obsecurity.org> <F2AAD8B1-6859-11D9-8611-000393681B06@lafn.org> <20050117190712.GA70520@xor.obsecurity.org> <FDB0FD52-68C5-11D9-8611-000393681B06@lafn.org> <20050117203022.GB7893@polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-01-17 14:30, Doug Poland <doug@polands.org> wrote:
> > On Jan 17, 2005, at 11:07, Kris Kennaway wrote:
> > >>>cd /usr/src
> > >>>make cleandir
> > >>>make cleandir
> > >>>make buildworld
> > >>>
> > >>>Kris
>
> Interesting, what does "make cleandir" do?  Is it different than
> running
>
> # cd /usr/obj
> # chflags -R noschg *
> # rm -rf *
>
> as documented in the handbook?

The first 'cleandir' run is pretty much equivalent to the instructions
in the Handbook.

If there are stale objects or libraries under /usr/src, the second
cleandir run cleans those too.

Normally, there shouldn't be any stale objects under /usr/src, because
the recommended buildworld/buildkernel cycle uses /usr/obj for that.

If there are left-overs under /usr/src, they are usually the result of
manual builds run in one of the subdirectories of /usr/src.

- Giorgos



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