diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2011-09-15 22:45:35 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-16 08:25:56 -0500 |
commit | 388d475815c23901010a25c845eb078d47ee0740 (patch) | |
tree | 99dc0b1712869dc5a36fdbbef6da76cf247da1af | |
parent | ef4f97cba2a354656b00eb8659bf61ab2321fa4e (diff) | |
download | qemu-388d475815c23901010a25c845eb078d47ee0740.zip qemu-388d475815c23901010a25c845eb078d47ee0740.tar.gz qemu-388d475815c23901010a25c845eb078d47ee0740.tar.bz2 |
build: Always have 'BUILD_DIR' variable pointing to the root of the build tree
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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)) |