cvs commit: src/sys/security/mac_mls mac_mls.c

M. Warner Losh imp at bsdimp.com
Fri May 30 21:52:09 PDT 2003


In message: <XFMail.20030530175637.jhb at FreeBSD.org>
            John Baldwin <jhb at FreeBSD.org> writes:
: This is just a symptom of the problem that module Makefiles duplicate
: metadata in sys/conf/files (namely the list of files in a given module).
: The modules Makefile's should somehow be changed to get their list of
: files (as well as nowerror settings) from the sys/conf/files.  Essentially,
: you almost want to build the acpi module like so:
: 
: % cd modules/acpi
: % cat conf
: # ACPI module configuration
: 
: device          acpi
: % config conf
: ... generate makefiles, etc. ...
: % make
: ... compiles acpi.ko ...
: 
: And avoid having to duplicate the metadata about what belongs in a
: module.  Basically, you build a kernel that doesn't include standard
: and doesn't require a CPU keyword.

Only if I don't have to config every module that I'm going to compile
with the kernel.

How would you deal with, say, the ed device which needs to have isa,
pccard, cbus, and pci attachments?  device 'ed' would be insufficient
without knowledge of these attachments.

Warner


More information about the cvs-src mailing list