On Tue Oct 19 10, Warner Losh wrote:
> opt_scsi.h isn't needed by aha or ahb either, so it can be deleted
> entirely from their module makefiles:

thanks. :)

what about trb/Makefile? seems to build fine too without opt_scsi.h.

> 
> Index: aha/Makefile
> ===================================================================
> --- aha/Makefile      (revision 214058)
> +++ aha/Makefile      (working copy)
> @@ -4,11 +4,6 @@
>  
>  KMOD=        aha
>  SRCS=        aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \
> -     opt_scsi.h isa_if.h
> +     isa_if.h
>  
> -.if !defined(KERNBUILDDIR)
> -opt_scsi.h:
> -     echo "#define SCSI_DELAY 15000" > ${.TARGET}
> -.endif
> -
>  .include <bsd.kmod.mk>
> Index: ahb/Makefile
> ===================================================================
> --- ahb/Makefile      (revision 214058)
> +++ ahb/Makefile      (working copy)
> @@ -3,11 +3,6 @@
>  .PATH: ${.CURDIR}/../../dev/ahb
>  
>  KMOD=        ahb
> -SRCS=        ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h opt_scsi.h
> +SRCS=        ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h
>  
> -.if !defined(KERNBUILDDIR)
> -opt_scsi.h:
> -     echo "#define SCSI_DELAY 15000" > ${.TARGET}
> -.endif
> -
>  .include <bsd.kmod.mk>

-- 
a13x
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to