[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Makefile: Fix broken build

From: Stefan Weil
Subject: [Qemu-devel] [PATCH] Makefile: Fix broken build
Date: Fri, 16 Sep 2011 21:50:43 +0200

make -C mybuilddir no longer works (regression caused by commit)

PWD is the directory of the caller (not mybuilddir),
so BUILD_DIR is set to the wrong value.

GNU make sets CURDIR to the correct value.
Use this macro instead of PWD.

Cc: LluĂ­s Vilanova <address@hidden>
Cc: Anthony Liguori <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 57cc399..a211158 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Makefile for QEMU.
-# Always point to the root of the build tree
+# Always point to the root of the build tree (needs GNU make).
 GENERATED_HEADERS = config-host.h trace.h qemu-options.def
 ifeq ($(TRACE_BACKEND),dtrace)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]