diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-05-14 09:31:02 -0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-05-19 08:14:00 -0400 |
commit | 535cf7b3b13c7faed3dfabafb6598417de1129ca (patch) | |
tree | cf6f6a68f45625c1cab828920c73df427f7d17fe /arch/ia64/kvm | |
parent | 7275acdfe29ba03ad2f6e150386900c4e2d43fb1 (diff) |
KVM: get rid of $(addprefix ../../../virt/kvm/, ...) in Makefiles
As requested by the KVM maintainers, remove the addprefix used to
refer to the main KVM code from the arch code, and replace it with
a KVM variable that does the same thing.
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Christoffer Dall <cdall@cs.columbia.edu>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/ia64/kvm')
-rw-r--r-- | arch/ia64/kvm/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile index 1a4053789d01..18e45ec49bbf 100644 --- a/arch/ia64/kvm/Makefile +++ b/arch/ia64/kvm/Makefile | |||
@@ -47,12 +47,13 @@ FORCE : $(obj)/$(offsets-file) | |||
47 | 47 | ||
48 | ccflags-y := -Ivirt/kvm -Iarch/ia64/kvm/ | 48 | ccflags-y := -Ivirt/kvm -Iarch/ia64/kvm/ |
49 | asflags-y := -Ivirt/kvm -Iarch/ia64/kvm/ | 49 | asflags-y := -Ivirt/kvm -Iarch/ia64/kvm/ |
50 | KVM := ../../../virt/kvm | ||
50 | 51 | ||
51 | common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \ | 52 | common-objs = $(KVM)/kvm_main.o $(KVM)/ioapic.o \ |
52 | coalesced_mmio.o irq_comm.o) | 53 | $(KVM)/coalesced_mmio.o $(KVM)/irq_comm.o |
53 | 54 | ||
54 | ifeq ($(CONFIG_KVM_DEVICE_ASSIGNMENT),y) | 55 | ifeq ($(CONFIG_KVM_DEVICE_ASSIGNMENT),y) |
55 | common-objs += $(addprefix ../../../virt/kvm/, assigned-dev.o iommu.o) | 56 | common-objs += $(KVM)/assigned-dev.o $(KVM)/iommu.o |
56 | endif | 57 | endif |
57 | 58 | ||
58 | kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o | 59 | kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o |