From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ZfF-0007Ae-PA for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:45:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4ZfD-0001qF-VY for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:45:13 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:48941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ZfD-0001pw-T2 for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:45:11 -0400 Received: by yxl11 with SMTP id 11so3615432yxl.4 for ; Fri, 16 Sep 2011 07:45:11 -0700 (PDT) Message-ID: <4E7360F4.7060503@codemonkey.ws> Date: Fri, 16 Sep 2011 09:45:08 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20110915204535.17235.55522.stgit@ginnungagap.bsc.es> In-Reply-To: <20110915204535.17235.55522.stgit@ginnungagap.bsc.es> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 1/2] build: Always have 'BUILD_DIR' variable pointing to the root of the build tree List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= Cc: Paolo Bonzini , qemu-devel@nongnu.org, Richard Henderson On 09/15/2011 03:45 PM, Lluís Vilanova wrote: > Signed-off-by: Lluís Vilanova Applied all. Thanks. Regards, Anthony Liguori > --- > Makefile | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index 7e9382f..57cc399 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,5 +1,8 @@ > # Makefile for QEMU. > > +# Always point to the root of the build tree > +BUILD_DIR=$(PWD) > + > GENERATED_HEADERS = config-host.h trace.h qemu-options.def > ifeq ($(TRACE_BACKEND),dtrace) > GENERATED_HEADERS += trace-dtrace.h > @@ -37,7 +40,7 @@ else > DOCS= > endif > > -SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) > +SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) BUILD_DIR=$(BUILD_DIR) > SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) > SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %/config-devices.mak.d, $(TARGET_DIRS)) > > > >