From owner-freebsd-arch@FreeBSD.ORG Wed Oct 8 08:53:44 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AE4016A4B3; Wed, 8 Oct 2003 08:53:44 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F55A43FEA; Wed, 8 Oct 2003 08:53:42 -0700 (PDT) (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.3p2/8.8.7) with ESMTP id BAA03398; Thu, 9 Oct 2003 01:53:36 +1000 Date: Thu, 9 Oct 2003 01:52:14 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Adam C. Migus" In-Reply-To: <51310.204.254.155.35.1065622332.squirrel@mail.migus.org> Message-ID: <20031009014522.L5476@gamplex.bde.org> References: <20030925092319.H5418@gamplex.bde.org><49939.204.254.155.35.1064593320.squirrel@mail.migus.org> <20030927080420.N18558@gamplex.bde.org> <49955.192.168.4.2.1065074430.squirrel@mail.migus.org> <51310.204.254.155.35.1065622332.squirrel@mail.migus.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Stefan Farfeleder cc: arch@freebsd.org Subject: Re: sys/conf/DEFAULT[S] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 15:53:44 -0000 On Wed, 8 Oct 2003, Adam C. Migus wrote: > Bruce Evans said: > > Stefan's version requires SEMICOLON: > > % + INCLUDE ID SEMICOLON > > % + = { include($2, 0); }; > > % + | > > ... > > I lost your examples showing that this doesn't quite work. What is > > the > > problem with it? > ... > WRT Stefan's solution, simply nest two includes on the first line, > like so: > > head -1 KERNEL > include SUB1 > > head -1 SUB1 > include SUB2 > > This will cause config to fail in the same manner it did before, > with his patch. Er, but this works for me. I test with SUB2 having the following: 1) include GENERIC 2) same contents as GENERIC 3) same contents as GENERIC except for no comment lines at beginning. Bruce