From owner-freebsd-current Tue Jan 28 15:55:31 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B94B937B407; Tue, 28 Jan 2003 15:55:29 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FA5643F93; Tue, 28 Jan 2003 15:55:28 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0SNtSMW066595; Tue, 28 Jan 2003 15:55:28 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0SNtSKm000887; Tue, 28 Jan 2003 15:55:28 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.6/8.12.6/Submit) id h0SNtSPT000886; Tue, 28 Jan 2003 15:55:28 -0800 (PST) Date: Tue, 28 Jan 2003 15:55:28 -0800 From: Marcel Moolenaar To: Juli Mallett Cc: current@FreeBSD.ORG Subject: Re: Patch to teach config(8) about "platforms". Message-ID: <20030128235528.GA844@athlon.pn.xcllnt.net> References: <20030125153116.A25743@FreeBSD.org> <20030128.233856.71130419.nyan@jp.FreeBSD.org> <20030128120830.A81856@FreeBSD.org> <20030128225335.GB537@athlon.pn.xcllnt.net> <20030128151749.A831@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030128151749.A831@FreeBSD.org> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 28, 2003 at 03:17:49PM -0800, Juli Mallett wrote: > * De: Marcel Moolenaar [ Data: 2003-01-28 ] > [ Subjecte: Re: Patch to teach config(8) about "platforms". ] > > > I just really would like things to be clean, and abstracted, and not waste > > > anyone's time. Why should we have to duplicate so much code? > > > > I'm not sure platform is the answer. We already have the distinction > > between MACHINE_ARCH and MACHINE and it looks to me that MACHINE can > > do what you try to achieve with platform. Why add a "platform" > > keyword to config(8) if we already have the "machine" keyword? > > Because that requires us to do what pc98 does, which is to have the > meta-port be the master port, and include up into the arch-port, and > that means that either you have every header in the arch-port be > wrapped by the meta-port, as is the meta-port, or you just > copy everything and make local changes. I'm sorry, you use implications I don't see to come to a conclusion I don't get: Start with the beginning: We have MACHINE_ARCH and MACHINE. Can you represent the problem you're seeing with MIPS with two entities, namely MACHINE_ARCH and MACHINE? If yes, how exactly do these entities need to be defined in that case and how do they relate to each other. If no, explain why you need more entities to capture the problem. No implementation details please. Subsequent questions (if required) will be posted based on the answer given to this one. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message