[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 23/24] limit usage of vpath
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 23/24] limit usage of vpath |
Date: |
Sun, 3 Jun 2012 14:25:57 +0200 |
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 <address@hidden>
---
Makefile | 2 +-
Makefile.target | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 75cbbda..f63bb30 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 c714b76..78147c3 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -12,12 +12,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
- [Qemu-devel] [PATCH 19/24] convert libhw to nested Makefiles, (continued)
- [Qemu-devel] [PATCH 19/24] convert libhw to nested Makefiles, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 20/24] move per-target hw/ objects to nested Makefiles, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 17/24] move qga/ objects to nested Makefile, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 24/24] compile oslib-obj-y once, Paolo Bonzini, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Blue Swirl, 2012/06/03
- [Qemu-devel] [PATCH 16/24] move qapi/ objects to nested Makefile, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 22/24] libcacard Makefile cleanups, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 23/24] limit usage of vpath,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 21/24] move device tree to per-target Makefile, Paolo Bonzini, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Andreas Färber, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Anthony Liguori, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Paolo Bonzini, 2012/06/04
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Lluís Vilanova, 2012/06/04
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Eric Blake, 2012/06/04
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Paolo Bonzini, 2012/06/05
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Anthony Liguori, 2012/06/03
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Lluís Vilanova, 2012/06/04