From owner-freebsd-arch@FreeBSD.ORG Tue May 24 08:08:21 2005 Return-Path: X-Original-To: arch@freebsd.org 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 91B1316A41C for ; Tue, 24 May 2005 08:08:21 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13A2C43D1D for ; Tue, 24 May 2005 08:08:20 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Tue, 24 May 2005 10:08:19 +0200 Date: Tue, 24 May 2005 10:08:19 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Max Okumoto In-Reply-To: Message-ID: <20050524100205.W50725@beagle.kn.op.dlr.de> References: <20050523153118.C28521@beagle.kn.op.dlr.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 24 May 2005 08:08:19.0416 (UTC) FILETIME=[BF04D580:01C56037] Cc: arch@freebsd.org Subject: Re: Handling of shell builtins in make(1) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 08:08:21 -0000 On Mon, 23 May 2005, Max Okumoto wrote: MO>4. Extend .SHELL: to allow specifing a list of built-in. And then MO> we should define them in bsd.sys.mk or some other config file. We would need to add yet another config file for this because make doesn't read anything if given the -r flag. It would end up having no shell which would be wrong. MO>This will allow people to add keywords for their shells, and MO>remove that stuff from the make source code. Hard coding it MO>in the binary is wrong. The initial shell (/bin/sh) must be in the binary because it must run with -r. I see no sense to add another config file just for the purpose of specifying the shell. What would that give you that you cannot do now? harti