From owner-freebsd-hackers Fri Jun 22 14:31:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id CA9D737B406 for ; Fri, 22 Jun 2001 14:31:09 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f5MLUuI76829; Fri, 22 Jun 2001 14:31:00 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010622212347.287CB3E28@bazooka.unixfreak.org> Date: Fri, 22 Jun 2001 14:52:13 -0700 (PDT) From: John Baldwin To: Dima Dorfman Subject: Re: Two Junior Kernel Hacker tasks.. Cc: hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22-Jun-01 Dima Dorfman wrote: > John Baldwin writes: >> 1) Split sys/i386/conf/NOTES up into MI and MD parts. The MI portion would >> become sys/conf/NOTES and would contain all the machine independent >> options and devices. The MD options and devices would live in >> sys/${MACHINE_ARCH}/conf/NOTES. This would include altering the >> sys/${MACHINE_ARCH}/conf/Makefile's (based on the LINT: target in the >> i386 Makefile) to concatenate the MI and MD NOTES files together to >> feed to makelint.pl to build LINT. This addresses problems with not >> having >> a place for non-i386 kernel options/devices that aren't in GENERIC for >> example. > > OpenBSD (and I think NetBSD) solve this problem by having an 'include' > directive in the kernel config file. E.g., in > sys/arch/i386/conf/GENRIC (the MD config file): > > machine i386 > ... > include "../../../conf/GENREIC" # <-- MI config file > ... > > I think this is much more general than just splitting NOTES. Is there > any reason we shouldn't do this? I'd be willing to implement > 'include' in config(8). That's fine. LINT is still special, because we do extra processing to convert NOTES to LINT, but that would make updating GENERIC easier. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "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