Re: Building a program to be used only during make buildkernel

2013-02-25 Thread Konstantin Belousov
On Mon, Feb 25, 2013 at 09:34:46AM +0100, Jean-S?bastien P?dron wrote: > I haven't tried to build the module into the kernel yet. IMO this is not a target for now. The KMS currently is not integrated with syscons at all, so startup of a KMS driver causes blank screen and lost console. The vidcons

Re: Building a program to be used only during make buildkernel

2013-02-25 Thread Jean-Sébastien Pédron
On 22.02.2013 17:55, Konstantin Belousov wrote: > On Fri, Feb 22, 2013 at 02:36:42PM +0100, Jean-S?bastien P?dron wrote: >> Hello, >> >> During the build of the "radeon" DRM driver in Linux, a C program is >> first built to generate headers included by the driver. The program is >> not meant to be

Re: Building a program to be used only during make buildkernel

2013-02-22 Thread Konstantin Belousov
On Fri, Feb 22, 2013 at 02:36:42PM +0100, Jean-S?bastien P?dron wrote: > Hello, > > During the build of the "radeon" DRM driver in Linux, a C program is > first built to generate headers included by the driver. The program is > not meant to be installed. > > In FreeBSD, how would one build and us

Building a program to be used only during make buildkernel

2013-02-22 Thread Jean-Sébastien Pédron
Hello, During the build of the "radeon" DRM driver in Linux, a C program is first built to generate headers included by the driver. The program is not meant to be installed. In FreeBSD, how would one build and use such a program during the build of a kernel module? And what if the driver is built