Date: Mon, 29 Nov 2004 14:38:44 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-hackers@freebsd.org Subject: Re: A hack to rebuild port KLDs during kernel builds Message-ID: <20041129123844.GE80748@ip.net.ua> In-Reply-To: <200411292254.32943.doconnor@gsoft.com.au> References: <200411292254.32943.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--p8PhoBjPxaQXD0vg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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)=20 > and it's quite annoying to have to rebuild them each kernel build, or=20 > upgrade. I have thought about putting them in /boot/modules but I have ha= d=20 > this crash on my fairly often (esp since I am running -current). >=20 > If you want to try it.. > Apply the diff and make /usr/local/kld and copy port-makefile.txt there a= s=20 > Makefile. >=20 > Note that (obviously) the ports need to be tweaked to install the driver= =20 > source and build infrastructure there, but that's not too hard (to do by = hand=20 > for now anyway). I have the 4 I mentioned building just fine with 5 minut= es=20 > work. >=20 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 :=20 : 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. :=20 : # 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. : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --p8PhoBjPxaQXD0vg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBqxhUqRfpzJluFF4RAp0UAJ0SEOXXNshMzqQAWj+BGn+YcX6tJgCcDftE pnicAIyUq+Nud+0O0tKO6CQ= =9Ny0 -----END PGP SIGNATURE----- --p8PhoBjPxaQXD0vg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041129123844.GE80748>