Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 13:38:52 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Michael Harnois <mdharnois@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: why are all modules built?
Message-ID:  <20000529133852.H58958@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <86og5pb730.fsf@mharnois.workgroup.net>; from mdharnois@home.com on Mon, May 29, 2000 at 12:26:59PM -0500
References:  <868zwtv0lu.fsf@mharnois.workgroup.net> <20000529124412.F58958@cc942873-a.ewndsr1.nj.home.com> <86og5pb730.fsf@mharnois.workgroup.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 29, 2000 at 12:26:59PM -0500, Michael Harnois wrote:
> On Mon, 29 May 2000 12:44:12 -0400, "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> said:
> 
>     > I don't believe a kernel build builds any modules. The kld(4)'s
>     > are only built at a make-world, IIRC. Or is that not what you
>     > are talking about?
> 
> I'm talking about what is under
> /usr/src/sys/compile/[mykernel]/modules. For example, in my tree,
> vesa.o was built this morning, when I rebuilt the kernel, although I
> don't have VESA defined and haven't done a make world since yesterday.

Dunno how you did that. None of the compile/<kernel> directories for
any of my 3.4 or 4.0 systems have a modules/ directory. You did do,

  # cd /usr/src/sys/i386/conf
  # config MYKERNEL
  # cd ../../compile/MYKERNEL
  # make depend
  # make
  # make install

Or something to that effect, right? To be sure to wipe out any
previous information,

  # cd /usr/src/sys/i386/conf
  # config -r MYKERNEL
  # cd ../../compile/MYKERNEL
  # make clean depend all install

Should do the trick.
-- 
Crist J. Clark                           cjclark@home.com


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




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