Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 16:01:29 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        hackers@FreeBSD.org
Subject:   Junior Kernel Hacker Project: NOTES
Message-ID:  <XFMail.20020329160129.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Currently we only have a NOTES file (which contains many MD options and
drivers) on i386, so we don't get to do LINT compiles on other arch's very
easily.  A very simple solution that doesn't involve much in the way of config
magic would be to split NOTES up into two pieces.  All of the MI drivers and
options would live in sys/conf/NOTES.  All of the MD drivers and options would
live in sys/<arch>/conf/NOTES.  Each sys/<arch>/conf/Makefile would contain a
LINT target.  Building LINT would be similar to the way that is done now,
except that both sys/conf/NOTES and sys/<arch>/conf/NOTES would be concatenated
to form the input for the perl script.  Also, the perl script should likely be
moved to sys/conf so there is only one copy of it.

You could start off the MI NOTES file by ensuring that device drivers and
options used in all the various GENERIC configs are present in the MI NOTES. 
You could then use all the parts of GENERIC not in each arch to start he MD
NOTES files.  On i386, of course, you don't need to use GENERIC to start your
MD NOTES file as it is already there.

Any takers?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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