Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 21:28:54 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Nick Hibma <n_hibma@calcaphon.com>
Cc:        Matthew Jacob <mjacob@feral.com>, Mark Murray <mark@grondar.za>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: if_de as a module...
Message-ID:  <Pine.BSF.4.21.0007112126030.24894-100000@besplex.bde.org>
In-Reply-To: <Pine.BSF.4.20.0007102130460.6613-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Jul 2000, Nick Hibma wrote:

> The opt_ files can be generated by the makefiles, so there is no reason
> to remove those, see sys/modules/usb/Makefile
> 
> SRCS             = bus_if.h device_if.h usb_if.h usb_if.c \
>                    vnode_if.h \
>                    opt_usb.h \
> 		...
> 
> Any file called opt_*.h that is not present is created (empty).

The opt_ files are used includes, so removing them breaks certain
functionality in both the statically compiled version and the module.
Empty ones for the module only break this functionality for the module.
Modules shouldn't depend on options.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007112126030.24894-100000>