aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2011-11-29 16:47:49 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-30 09:28:32 -0600
commit9b129408589b2ed7bb2cdea03d2aba46a5fd74d4 (patch)
tree4062748e84fb83fdbe0b8973f380026eb6c0f03f
parentd8e1f214a0046b85f5297b0396f3678531b8982d (diff)
downloadqemu-9b129408589b2ed7bb2cdea03d2aba46a5fd74d4.zip
qemu-9b129408589b2ed7bb2cdea03d2aba46a5fd74d4.tar.gz
qemu-9b129408589b2ed7bb2cdea03d2aba46a5fd74d4.tar.bz2
Makefile: use full path for qapi-generated directory
Generally $(BUILD_DIR) == $(CURDIR), but that isn't necessarilly the case, so use $(BUILD_DIR)/qapi-generated for generated files to avoid potentionally sticking generating files in odd places outside the build's include paths. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c93739..301c75e 100644
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,7 @@ check-qjson: check-qjson.o $(qobject-obj-y) $(tools-obj-y)
test-coroutine: test-coroutine.o qemu-timer-common.o async.o $(coroutine-obj-y) $(tools-obj-y)
$(qapi-obj-y): $(GENERATED_HEADERS)
-qapi-dir := qapi-generated
+qapi-dir := $(BUILD_DIR)/qapi-generated
test-visitor.o test-qmp-commands.o qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
qemu-ga$(EXESUF): LIBS = $(LIBS_QGA)