diff options
author | scottl <scottl@FreeBSD.org> | 2004-04-10 02:00:47 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-04-10 02:00:47 +0000 |
commit | d66e795a25f6c35651f8ec4187e9de3d3bf6d05e (patch) | |
tree | 1ea1cfa22b5ac6e87b77666e7f86da311969adcd /sys/modules | |
parent | 17077e5ae6a3c32d437e907200a241336105a539 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/modules/twa/Makefile | 4 |
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 |