Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 14:19:53 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, <cvs-src@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/conf makeLINT.sed
Message-ID:  <20030225140948.U9086-100000@gamplex.bde.org>
In-Reply-To: <20030225135050.M8899-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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