From patchwork Wed Dec 7 16:33:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Litke X-Patchwork-Id: 129988 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 14CCB1007D1 for ; Thu, 8 Dec 2011 03:36:42 +1100 (EST) Received: from localhost ([::1]:38726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYKTx-00019v-94 for incoming@patchwork.ozlabs.org; Wed, 07 Dec 2011 11:36:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYKTm-000188-DJ for qemu-devel@nongnu.org; Wed, 07 Dec 2011 11:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYKTl-0001Xi-1f for qemu-devel@nongnu.org; Wed, 07 Dec 2011 11:36:22 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:41618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYKTk-0001Th-VL for qemu-devel@nongnu.org; Wed, 07 Dec 2011 11:36:21 -0500 Received: from /spool/local by e1.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Dec 2011 11:35:51 -0500 Received: from d01relay01.pok.ibm.com (9.56.227.233) by e1.ny.us.ibm.com (192.168.1.101) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Dec 2011 11:33:54 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB7GXOhK270716 for ; Wed, 7 Dec 2011 11:33:25 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB7GXF69011550 for ; Wed, 7 Dec 2011 11:33:15 -0500 Received: from aglitke.notes.ibm.com ([9.49.213.241]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pB7GXDAb010970; Wed, 7 Dec 2011 11:33:13 -0500 From: Adam Litke To: qemu-devel@nongnu.org Date: Wed, 7 Dec 2011 10:33:04 -0600 Message-Id: <1323275584-8751-1-git-send-email-agl@us.ibm.com> X-Mailer: git-send-email 1.7.5.rc1 x-cbid: 11120716-6078-0000-0000-0000055559E3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 32.97.182.141 Cc: mdroth@linux.vnet.ibm.com, Adam Litke Subject: [Qemu-devel] [PATCH] build: Cleanup qga make output X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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)