Received: from eggs.gnu.org ([140.186.70.92]:35270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4IpW-0007yu-2F for qemu-devel@nongnu.org; Thu, 15 Sep 2011 16:46:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4IpU-0000ks-R6 for qemu-devel@nongnu.org; Thu, 15 Sep 2011 16:46:42 -0400 Received: from gw.ac.upc.es ([147.83.30.3]:59403 helo=gw.ac.upc.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4IpU-0000kf-JA for qemu-devel@nongnu.org; Thu, 15 Sep 2011 16:46:40 -0400 From: =?utf-8?b?TGx1w61z?= Vilanova Date: Thu, 15 Sep 2011 22:45:35 +0200 Message-ID: <20110915204535.17235.55522.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [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: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson Signed-off-by: Llu=C3=ADs Vilanova --- 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. =20 +# Always point to the root of the build tree +BUILD_DIR=3D$(PWD) + GENERATED_HEADERS =3D config-host.h trace.h qemu-options.def ifeq ($(TRACE_BACKEND),dtrace) GENERATED_HEADERS +=3D trace-dtrace.h @@ -37,7 +40,7 @@ else DOCS=3D endif =20 -SUBDIR_MAKEFLAGS=3D$(if $(V),,--no-print-directory) +SUBDIR_MAKEFLAGS=3D$(if $(V),,--no-print-directory) BUILD_DIR=3D$(BUILD_= DIR) SUBDIR_DEVICES_MAK=3D$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) SUBDIR_DEVICES_MAK_DEP=3D$(patsubst %, %/config-devices.mak.d, $(TARGET_= DIRS)) =20