Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 12:24:52 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/conf files.i386 files.pc98
Message-ID:  <20011106122452.A386@blossom.cjclark.org>
In-Reply-To: <20011106055702.A5601@lerami.lerctr.org>; from ler@lerctr.org on Tue, Nov 06, 2001 at 05:57:02AM -0600
References:  <200111060218.fA62ILs61502@freefall.freebsd.org> <20011105215308.A11461@lerami.lerctr.org> <20011105195947.A2591@dhcp01.pn.xcllnt.net> <20011106014026.A23162@lerami.lerctr.org> <20011106014651.D2494@blossom.cjclark.org> <20011106051432.A3878@lerami.lerctr.org> <20011106032612.E2494@blossom.cjclark.org> <20011106055702.A5601@lerami.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 06, 2001 at 05:57:02AM -0600, Larry Rosenman wrote:
> * Crist J. Clark <cristjc@earthlink.net> [011106 05:29]:
> > > > This is /usr/src/sys/i386/linux/linux_proto.h? What about
> > > > /usr/obj/export/usr/src/sys/YOUR_KERNEL/modules/usr/src/sys/modules/linux/linux_proto.h?
> > > > Did you,
> > > > 
> > > >   # rm -rf /usr/obj/usr
> > > No, I did a cvsup, make world kernel.
> > > 
> > > Should I have to clean the /usr/obj/usr/ stuff first? 
> > 
> > When you get new sources, it is usually a good idea.
> > 
> > And generally, when you have a buildworld failure,
> > 
> >   # cvsup -L2 -g your-supfile
> >   # rm -rf /usr/obj/usr
> >   # cd /usr/src
> >   # make cleandir && make cleandir
> > 
> > Are some things to try before going to the mail lists.
> I was under the, apparently mistaken, impression that make world
> kernel took care of making sure all the cruft was deleted/re-synced
> from /usr/src to /usr/obj. 

Not really. It walks the object tree cleaning subdirs, but this will
miss certain steps of the build which do not have an associated
cleaning step. Anyway in practice, removing the whole object tree
tends to make the build faster than cleaning the old one. The
'cleandir' steps are to make sure that no build junk has crept into
the /usr/src tree. The 'build(world|kernel)' targets deliberately
never touch /usr/src.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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