A hack to rebuild port KLDs during kernel builds
Ruslan Ermilov
ru at freebsd.org
Mon Nov 29 04:38:53 PST 2004
On Mon, Nov 29, 2004 at 10:54:26PM +1030, Daniel O'Connor wrote:
> Hi,
> I have a few "third party" KLDs on my system (nvidia, acpi_ppc, dell, if_ndis)
> and it's quite annoying to have to rebuild them each kernel build, or
> upgrade. I have thought about putting them in /boot/modules but I have had
> this crash on my fairly often (esp since I am running -current).
>
> If you want to try it..
> Apply the diff and make /usr/local/kld and copy port-makefile.txt there as
> Makefile.
>
> Note that (obviously) the ports need to be tweaked to install the driver
> source and build infrastructure there, but that's not too hard (to do by hand
> for now anyway). I have the 4 I mentioned building just fine with 5 minutes
> work.
>
Any chance you can use the recently added PORTS_MODULES knob to do what
you want?
: # cvs -R log -N -r1.71 kern.post.mk
:
: RCS file: /home/ncvs/src/sys/conf/kern.post.mk,v
: Working file: kern.post.mk
: head: 1.73
: branch:
: locks: strict
: access list:
: keyword substitution: kv
: total revisions: 74; selected revisions: 1
: description:
: ----------------------------
: revision 1.71
: date: 2004/11/11 23:58:14; author: imp; state: Exp; lines: +14 -0
: PORTS_MODULES: a list of ports to build with this kernel.
:
: # I directly use the targets for building this, but it was suggested
: # to use portupgrade. I couldn't fit that into the target model, so I
: # punted.
: =============================================================================
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041129/6df5cb4a/attachment.bin
More information about the freebsd-hackers
mailing list