Having collected the files needed by your driver
into a temporary directory,
configure the driver into the Link Kit using
For example, if the directory /tmp/foo contains
files named Master,
System, Driver.o, Space.c,
.h, and Node for the driver foo,
the following commands will copy the files into the Link Kit:
/etc/conf/bin/idinstall -ak foo
If the -k option is specified, the files will not be removed from /tmp/foo. If the -L option is specified in addition to -k, a symbolic link will be created for Driver.o (and Stubs.c if defined using the -t option) from its destination location in the Link Kit. The use of symbolic links has the benefit that it allows the Driver.o and Stubs.c files to be shared between kernels built for different target machines. See ``Creating bootable kernels for testing'' for more information.
If you wish to update the files in the Link Kit after making modifications, specify the -u option instead of the -a option.