From owner-freebsd-current Tue Jul 11 4:29:39 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 88E5737B95B for ; Tue, 11 Jul 2000 04:29:35 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id VAA23504; Tue, 11 Jul 2000 21:29:00 +1000 Date: Tue, 11 Jul 2000 21:28:54 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Nick Hibma Cc: Matthew Jacob , Mark Murray , FreeBSD CURRENT Mailing List Subject: Re: if_de as a module... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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