summaryrefslogtreecommitdiffstats
path: root/sys/modules/twa
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-04-10 02:00:47 +0000
committerscottl <scottl@FreeBSD.org>2004-04-10 02:00:47 +0000
commitd66e795a25f6c35651f8ec4187e9de3d3bf6d05e (patch)
tree1ea1cfa22b5ac6e87b77666e7f86da311969adcd /sys/modules/twa
parent17077e5ae6a3c32d437e907200a241336105a539 (diff)
downloadFreeBSD-src-d66e795a25f6c35651f8ec4187e9de3d3bf6d05e.zip
FreeBSD-src-d66e795a25f6c35651f8ec4187e9de3d3bf6d05e.tar.gz
Don't include the firmware image by default as it adds 500k (uncompressed) to
the module. Reviewed by: vinod
Diffstat (limited to 'sys/modules/twa')
-rw-r--r--sys/modules/twa/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/twa/Makefile b/sys/modules/twa/Makefile
index 0e578d3..9aca733 100644
--- a/sys/modules/twa/Makefile
+++ b/sys/modules/twa/Makefile
@@ -7,14 +7,14 @@
# The size of the driver will increase significantly (to over 500KB)
# if this option is selected.
#
-FLASH_FIRMWARE=1
+TWA_FLASH_FIRMWARE?=0
KMOD = twa
.PATH: ${.CURDIR}/../../dev/${KMOD}
SRCS = twa_freebsd.c twa_cam.c twa.c twa_globals.c \
bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h
-.if defined(FLASH_FIRMWARE)
+.if $(TWA_FLASH_FIRMWARE) != 0
CFLAGS+=-DTWA_FLASH_FIRMWARE
SRCS += twa_fwimg.c
.endif
OpenPOWER on IntegriCloud