From owner-cvs-all Mon Feb 24 19:18:44 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D53F037B401; Mon, 24 Feb 2003 19:18:40 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C40143F93; Mon, 24 Feb 2003 19:18:39 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id OAA28054; Tue, 25 Feb 2003 14:18:36 +1100 Date: Tue, 25 Feb 2003 14:19:53 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "David O'Brien" Cc: src-committers@FreeBSD.org, , Subject: Re: cvs commit: src/sys/conf makeLINT.sed In-Reply-To: <20030225135050.M8899-100000@gamplex.bde.org> Message-ID: <20030225140948.U9086-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 25 Feb 2003, Bruce Evans wrote: > On Mon, 24 Feb 2003, David O'Brien wrote: > > > On Mon, Feb 24, 2003 at 12:55:04PM +1100, Bruce Evans wrote: > > > BTW, I've noticed the following defects in `include': > > > - doesn't work if nested. > > > > Hum... I have my own i386 kernel config that includes SMP, which in turn > > includes GENERIC. Is this the type of nested includes you're referring > > to? > > It was, but this seems to have been pilot error (I got a syntax error, > which was probably from not changing myKERNEL.core in the include > statement). More testing showed that it wasn't pilot error. Including GENERIC nested worked in all cases that I tried, but including the core of my kernel failed in all cases that I tried. I reduced the failure to the following. Even non-nested includes are broken in some cases: %%% Script started on Tue Feb 25 14:16:01 2003 ttyp0:bde@besplex:/usr/src/sys/i386/conf> cat FOOBAR include FOO ttyp0:bde@besplex:/usr/src/sys/i386/conf> cat FOO machine i386 cpu I486_CPU ident FOO ttyp0:bde@besplex:/usr/src/sys/i386/conf> config FOOBAR config: FOO:1: syntax error ttyp0:bde@besplex:/usr/src/sys/i386/conf> config FOO Kernel build directory is ../compile/FOO Don't forget to do a ``make depend'' ttyp0:bde@besplex:/usr/src/sys/i386/conf> exit Script done on Tue Feb 25 14:16:23 2003 %%% Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message