Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 18:13:00 +0800
From:      <hongz@promisechina.com>
To:        <freebsd-hackers@freebsd.org>
Cc:        hongz@promisechina.com
Subject:   help:Makefile template for device drivers with multiple directories
Message-ID:  <1149761572$95415$77000985@hongz@promisechina.com>

next in thread | raw e-mail | index | archive | help
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>

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1149761572$95415$77000985>