qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Adam Litke <agl@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: mdroth@linux.vnet.ibm.com, Adam Litke <agl@us.ibm.com>
Subject: [Qemu-devel] [PATCH] build: Cleanup qga make output
Date: Wed,  7 Dec 2011 10:33:04 -0600	[thread overview]
Message-ID: <1323275584-8751-1-git-send-email-agl@us.ibm.com> (raw)

Currently the make variable qapi-dir refers to the qapi-generated directory in
absolute terms.  This causes the harmless but ugly make output below.  By
changing this variable to the relative path the output conforms to the norm and
the build works fine.

Before patch:
  CC    /home/aglitke/src/qemu/qapi-generated/qga-qapi-types.o
  CC    /home/aglitke/src/qemu/qapi-generated/qga-qapi-visit.o
  CC    /home/aglitke/src/qemu/qapi-generated/qga-qmp-marshal.o
After patch:
  CC    qapi-generated/qga-qapi-types.o
  CC    qapi-generated/qga-qapi-visit.o
  CC    qapi-generated/qga-qmp-marshal.o

Signed-off-by: Adam Litke <agl@us.ibm.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 301c75e..7c93739 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 := $(BUILD_DIR)/qapi-generated
+qapi-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.5.rc1

             reply	other threads:[~2011-12-07 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 16:33 Adam Litke [this message]
2011-12-12 23:03 ` [Qemu-devel] [PATCH] build: Cleanup qga make output Anthony Liguori
2011-12-12 23:38   ` Michael Roth
2011-12-13 12:23     ` Luiz Capitulino
2011-12-13 14:33       ` Adam Litke
2011-12-13 15:22         ` Michael Roth
2011-12-13 18:33           ` Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1323275584-8751-1-git-send-email-agl@us.ibm.com \
    --to=agl@us.ibm.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).