From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 06:52:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D826E16A4CE for ; Sat, 10 Jan 2004 06:52:17 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 229EA43D46 for ; Sat, 10 Jan 2004 06:52:08 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9p1/8.12.9) with ESMTP id i0AEoUL9064155; Sun, 11 Jan 2004 01:50:32 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9p1/8.12.9/Submit) id i0AEoTWJ064154; Sun, 11 Jan 2004 01:50:29 +1100 (EST) Date: Sun, 11 Jan 2004 01:50:27 +1100 From: Gautam Gopalakrishnan To: David Fleck Message-ID: <20040110145027.GA64139@madras.dyndns.org> References: <20040110084259.A4634@grond.sourballs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040110084259.A4634@grond.sourballs.org> User-Agent: Mutt/1.4.1i cc: FreeBSD Questions Subject: Re: appending to CFLAGS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 14:52:18 -0000 On Sat, Jan 10, 2004 at 08:47:16AM -0600, David Fleck wrote: > 4.9-RELEASE-p1. > > I'm trying to debug a kernel module (vpo.ko) that used to work, but now > doesn't. As a first step, I'd like to build the module in > /usr/src/sys/modules/vpo with VPO_DEBUG set. > > However, my attempts to add the VPO_DEBUG define to the build fail, > because my syntax results in VPO_DEBUG replacing CFLAGS, not appended to > it. I'm trying: > > make "CFLAGS+=VPO_DEBUG" You could take the easy way and add it to CFLAGS in /etc/make.conf Gautam