Building a program to be used only during make buildkernel

Konstantin Belousov kostikbel at gmail.com
Fri Feb 22 16:55:57 UTC 2013


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 use such a program during the build
> of a kernel module? And what if the driver is built into the kernel instead?

Look at the genasssym program, used by the kernel and several ABI modules
for exactly this use.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20130222/0c61dfd5/attachment.sig>


More information about the freebsd-hackers mailing list