Date: Mon, 18 Jun 2012 00:53:37 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Daniel Braniss <danny@cs.huji.ac.il> Cc: Doug Barton <dougb@freebsd.org>, freebsd-stable@freebsd.org, freebsd-current <freebsd-current@freebsd.org> Subject: Re: PORTS_MODULES Message-ID: <CAGH67wRHSzdivcSdydu38AT4WpaYhCTVeq3EJgdS5KscB-jUnw@mail.gmail.com> In-Reply-To: <E1SgWZS-000E3Y-Gm@kabab.cs.huji.ac.il> References: <4FDE4A47.2030204@FreeBSD.org> <E1SgWZS-000E3Y-Gm@kabab.cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 18, 2012 at 12:40 AM, Daniel Braniss <danny@cs.huji.ac.il> wrot= e: >> Howdy, >> >> This is an FYI to let people know about a really nice feature for those >> that have ports installed which include kernel modules. You can place a >> list in /etc/src.conf like this: >> >> PORTS_MODULES=3D =A0emulators/virtualbox-ose-kmod sysutils/fusefs-kmod >> x11/nvidia-driver >> >> which will cause those modules to be built and installed with all the >> proper matching stuff at the same time as buildkernel and installkernel. >> >> This feature has existed for a while, but has had "issues." Thanks to a >> team effort it's a lot more robust now, and ready for prime time (in >> HEAD, and the -STABLE branches for now, soon to be in 9.1-RELEASE). >> >> Enjoy, >> >> Doug > > nice! > does it also work when cross-compiling? ie, using an amd64-freebsd-8.3 ke= rnel > to compile for i386-freebsd-8.2 In theory, yes, however some of the environment required to bootstrap some ports might be missing, depending on how the ports module pokes around for data in /usr/src, etc. Thanks! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRHSzdivcSdydu38AT4WpaYhCTVeq3EJgdS5KscB-jUnw>