From owner-freebsd-arch@FreeBSD.ORG  Fri Jul 25 17:11:05 2003
Return-Path: <owner-freebsd-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 0F62237B401
	for <arch@freebsd.org>; Fri, 25 Jul 2003 17:11:05 -0700 (PDT)
Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6ED43F3F
	for <arch@freebsd.org>; Fri, 25 Jul 2003 17:11:04 -0700 (PDT)
	(envelope-from drosih@rpi.edu)
Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47])
	by smtp1.server.rpi.edu (8.12.9/8.12.9) with ESMTP id h6Q0B29t013342;
	Fri, 25 Jul 2003 20:11:02 -0400
Mime-Version: 1.0
X-Sender: drosih@mail.rpi.edu
Message-Id: <p0521069cbb47752aa69e@[128.113.24.47]>
In-Reply-To: <20030725230839.GR12996@roark.gnf.org>
References: <20030725230839.GR12996@roark.gnf.org>
Date: Fri, 25 Jul 2003 20:11:01 -0400
To: Gordon Tetlow <gordont@gnf.org>, arch@freebsd.org
From: Garance A Drosihn <drosih@rpi.edu>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: CanIt (www . canit . ca)
Subject: Re: Patch to crunchgen to fix errors using make -P
X-BeenThere: freebsd-arch@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussion related to FreeBSD architecture
	<freebsd-arch.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arch>,
	<mailto:freebsd-arch-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arch>
List-Post: <mailto:freebsd-arch@freebsd.org>
List-Help: <mailto:freebsd-arch-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arch>,
	<mailto:freebsd-arch-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Jul 2003 00:11:05 -0000

At 4:08 PM -0700 7/25/03, Gordon Tetlow wrote:
>I have a quick patch that I'd like to commit, but I was
>wondering if anyone had any objections or reason to keep
>the MAKEFLAGS environment variable.

Following up on what you figured out, I realized that we
could also fix this by changing the line in

/usr/src/rescue/rescue/Makefile

so it's:

	MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m ...

A quick test showed that this allowed me to add all the debug
flags I wanted to add, without having to change crunchgen.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu