[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] Makefile: use full path for qapi-generated dire
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH 2/2] Makefile: use full path for qapi-generated directory |
Date: |
Tue, 29 Nov 2011 16:47:49 -0600 |
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.
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 168093c..0b4b2c3 100644
--- a/Makefile
+++ b/Makefile
@@ -167,7 +167,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)
--
1.7.4.1
- [Qemu-devel] [PATCH] fix out of tree build, Stefano Stabellini, 2011/11/22
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix out of tree build, Stefan Hajnoczi, 2011/11/23
- Re: [Qemu-devel] [PATCH] fix out of tree build, Stefan Weil, 2011/11/28
- Re: [Qemu-devel] [PATCH] fix out of tree build, Anthony Liguori, 2011/11/28
- Re: [Qemu-devel] [PATCH] fix out of tree build, Stefan Weil, 2011/11/28
- Re: [Qemu-devel] [PATCH] fix out of tree build, Stefano Stabellini, 2011/11/29
- [Qemu-devel] [PATCH 1/2] qapi: fix guardname generation, Michael Roth, 2011/11/29
- [Qemu-devel] [PATCH 2/2] Makefile: use full path for qapi-generated directory,
Michael Roth <=
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] Makefile: use full path for qapi-generated directory, Stefan Hajnoczi, 2011/11/30
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] Makefile: use full path for qapi-generated directory, Stefano Stabellini, 2011/11/30
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] Makefile: use full path for qapi-generated directory, Stefan Weil, 2011/11/30
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/2] qapi: fix guardname generation, Stefan Hajnoczi, 2011/11/30