Makefile revision 128086
1# $FreeBSD: head/sys/modules/twa/Makefile 128086 2004-04-10 02:41:22Z vkashyap $
2
3#
4# In the line following this comment, a value of 0 on the right hand
5# side will not cause firmware to be bundled.  Change this value to 1
6# to bundle the firmware with the driver, which may be flashed onto
7# the controller, if the firmware on the controller is older than the
8# one bundled, and needs to be upgraded.  The size of the driver will
9# increase significantly (to over 500kB) if this option is selected.
10#
11TWA_FLASH_FIRMWARE?=0
12
13KMOD = twa
14.PATH:	${.CURDIR}/../../dev/${KMOD}
15SRCS = twa_freebsd.c twa_cam.c twa.c twa_globals.c \
16      bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h
17
18.if $(TWA_FLASH_FIRMWARE) != 0
19CFLAGS+=-DTWA_FLASH_FIRMWARE
20SRCS += twa_fwimg.c
21.endif
22
23#CFLAGS+=-DTWA_DEBUG=0
24
25.include <bsd.kmod.mk>
26