Skip to content
Snippets Groups Projects
Commit 9b129408 authored by Michael Roth's avatar Michael Roth Committed by Anthony Liguori
Browse files

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: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent d8e1f214
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment