help:Makefile template for device drivers with multiple directories
hongz at promisechina.com
hongz at promisechina.com
Thu Jun 8 11:55:46 UTC 2006
Hi guys:
Need your helps again! The following is a Makefile template for a device
driver in FreeBSD. But when my driver source codes locate in multiple
directories (such as under osd/, engine/, and cam/), how to write the
Makefile? I have tried but still can not get through this, please give me a
help!
Thanks!
Hong
Note: Makefile template
.PATH: .
KMOD = shasta
SRCS = shasta.c
SRCS += device_if.h bus_if.h pci_if.h
SRCS += opt_scsi.h opt_cam.h
..
.include <bsd.kmod.mk>
More information about the freebsd-hackers
mailing list