From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIQe7-0000a3-8p for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIQe5-0000YZ-DL for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIQe5-0000YR-9L for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:09 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JIQe4-0003jl-UA for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:09 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target Date: Fri, 25 Jan 2008 15:36:57 +0000 References: <18329.61367.473953.391435@mariner.uk.xensource.com> <18329.62928.792579.75725@mariner.uk.xensource.com> <18329.63185.661839.17070@mariner.uk.xensource.com> In-Reply-To: <18329.63185.661839.17070@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801251536.57814.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Ian Jackson > What I mean is: if you want > for any reason to build qemu in a weird way then you're going to have > to edit config-host.mak (or somewhere similar) in any case. You > probably want to set some CPPFLAGS as well as various other things. > If you do this at the moment then you have to reproduce all of the > CPPFLAGS -I settings and so on from Makefile.target in your own > setting that you add to config-host.mak. In that case you should always provide a definition in config-host.mak. Under some circumstances make may inherit initial values from elsewhere. The rules for make variables are sufficiently twisty that it's best to be explicit, rather than allowing a subset of the ways of defining that variable. Paul