mirror of
https://github.com/mii443/qemu.git
synced 2025-12-12 13:28:43 +00:00
Makefile: Fix broken build
make -C mybuilddir no longer works (regression caused by commit)
388d475815.
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 <vilanova@ac.upc.edu>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
|||||||
# Makefile for QEMU.
|
# Makefile for QEMU.
|
||||||
|
|
||||||
# Always point to the root of the build tree
|
# Always point to the root of the build tree (needs GNU make).
|
||||||
BUILD_DIR=$(PWD)
|
BUILD_DIR=$(CURDIR)
|
||||||
|
|
||||||
GENERATED_HEADERS = config-host.h trace.h qemu-options.def
|
GENERATED_HEADERS = config-host.h trace.h qemu-options.def
|
||||||
ifeq ($(TRACE_BACKEND),dtrace)
|
ifeq ($(TRACE_BACKEND),dtrace)
|
||||||
|
|||||||
Reference in New Issue
Block a user