Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 22:51:56 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jhb@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/security/mac_mls mac_mls.c
Message-ID:  <20030530.225156.71089616.imp@bsdimp.com>
In-Reply-To: <XFMail.20030530175637.jhb@FreeBSD.org>
References:  <20030530200512.GE60607@sunbay.com> <XFMail.20030530175637.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <XFMail.20030530175637.jhb@FreeBSD.org>
            John Baldwin <jhb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530.225156.71089616.imp>