Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2000 11:14:06 +0700 (ALMST)
From:      Boris Popov <bp@butya.kz>
To:        David O'Brien <obrien@FreeBSD.ORG>
Cc:        Chuck Robey <chuckr@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/defaults make.conf src/sys Makefile src/sys/conf Makefile.alpha Makefile.i386
Message-ID:  <Pine.BSF.4.10.10005041108480.77845-100000@lion.butya.kz>
In-Reply-To: <20000503205752.A65556@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 May 2000, David O'Brien wrote:

> On Mon, May 01, 2000 at 07:26:05PM -0700, Chuck Robey wrote:
> >   Log:
> >   Cause modules to build with the kernel build.  Modules are removed
> >   from the sys Makefile's SUBDIRs.
> I was wondering if this is still a WIP.  I am seeing that modules are
> built with-in /sys/modules.  This breaks using a read-only /usr/src, and
> causes file polution for ``cvs up''.  Worse if you build kernel FOO and a
> week later build kernel BAR; you are unable to ``cd /sys/compile/FOO ;
> make install'' as you don't have the modules that match kernel FOO any
> longer.  Of course we never did, but the move of the modules from world
> builds to kernel builds was to get around such issues.  It really would
> be better to build modules with-in /sys/compile/<NAME>/modules.

	In addition, this is opposite to what Peter Wemm has in plans:

--- cut ---
One thing that I have on my TODO list is an inversion of the kernel build
mechanism so that config(8)'s replacement arranges for building all these
intermediate .kld file bundles according to your compile options.  (eg:
SMP, INVARIANTS etc).  As a final step, the build process takes these .kld
intermediate files and produces a static kernel and/or the final kld
packaging you requested.  Of course, getting this all finished and working
is proving to be 'entertaining' :-).
--- end ---

--
Boris Popov



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10005041108480.77845-100000>