Received: from eggs.gnu.org ([208.118.235.92]:35624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdFmu-0005Sn-Gk for qemu-devel@nongnu.org; Sat, 09 Jun 2012 03:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdFms-0005wM-Ph for qemu-devel@nongnu.org; Sat, 09 Jun 2012 03:08:44 -0400 From: Stefan Weil Date: Sat, 9 Jun 2012 09:08:38 +0200 Message-Id: <1339225719-5434-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 1/2] Makefile: Remove BUILD_DIR from qapi-dir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: Stefan Weil , qemu-devel@nongnu.org qapi-dir does not need an absolute path. All other build directories are relative. When BUILD_DIR is removed, the build output looks better (no long lines with absolute paths when everything else uses short lines): GEN qapi-generated/qga-qapi-types.c CC qapi-generated/qga-qapi-types.o GEN qapi-generated/qga-qapi-visit.c CC qapi-generated/qga-qapi-visit.o GEN qapi-generated/qga-qmp-marshal.c CC qapi-generated/qga-qmp-marshal.o Using a relative path also avoids potential problems when BUILD_DIR includes blanks. Signed-off-by: Stefan Weil --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 32550cb..8880a3e 100644 --- a/Makefile +++ b/Makefile @@ -171,7 +171,7 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") -qapi-dir := $(BUILD_DIR)/qapi-generated +qapi-dir := qapi-generated qemu-ga$(EXESUF): LIBS = $(LIBS_QGA) qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir) -- 1.7.10