From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScXM6-0007W7-Cj for qemu-devel@nongnu.org; Thu, 07 Jun 2012 03:42:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScXM4-0006Du-NE for qemu-devel@nongnu.org; Thu, 07 Jun 2012 03:42:05 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:45957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScXM4-0005e1-EP for qemu-devel@nongnu.org; Thu, 07 Jun 2012 03:42:04 -0400 Received: by mail-pz0-f45.google.com with SMTP id v2so544822dad.4 for ; Thu, 07 Jun 2012 00:42:03 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 7 Jun 2012 09:40:11 +0200 Message-Id: <1339054814-20939-27-git-send-email-pbonzini@redhat.com> In-Reply-To: <1339054814-20939-1-git-send-email-pbonzini@redhat.com> References: <1339054814-20939-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v3 26/29] build: limit usage of vpath List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: anthony@codemonkey.ws All paths are now explicitly given, and the object tree mimics the source tree, so there is no need to apply special vpaths. Signed-off-by: Paolo Bonzini --- Makefile | 2 +- Makefile.target | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1d34b95..32550cb 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ configure: ; .PHONY: all clean cscope distclean dvi html info install install-doc \ pdf recurse-all speed tar tarbin test build-all -$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) +$(call set-vpath, $(SRC_PATH)) LIBS+=-lz $(LIBS_TOOLS) diff --git a/Makefile.target b/Makefile.target index 555894d..2907aad 100644 --- a/Makefile.target +++ b/Makefile.target @@ -8,12 +8,11 @@ ifneq ($(HWDIR),) include $(HWDIR)/config.mak endif -TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -$(call set-vpath, $(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw) +$(call set-vpath, $(SRC_PATH)) ifdef CONFIG_LINUX QEMU_CFLAGS += -I../linux-headers endif -QEMU_CFLAGS += -I.. -I$(TARGET_PATH) -DNEED_CPU_H +QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -DNEED_CPU_H QEMU_CFLAGS+=-I$(SRC_PATH)/include -- 1.7.10.1