diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-10-16 22:18:03 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-10-17 13:05:08 -0400 |
commit | 5142ec4690943eefc86b01396addf70083a2b9fb (patch) | |
tree | 0db3ae9566b54be9bfc35fff973ae67f06b94c32 /arch/ia64/xen/Makefile | |
parent | 21820cce1701cf978310efb47d90e5e6a927f6ae (diff) |
ia64/pv_ops/xen: paravirtualize ivt.S for xen.
paravirtualize ivt.S for xen by multi compile.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/xen/Makefile')
-rw-r--r-- | arch/ia64/xen/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/ia64/xen/Makefile b/arch/ia64/xen/Makefile index 7cb4247f90be..5c87e4a79d39 100644 --- a/arch/ia64/xen/Makefile +++ b/arch/ia64/xen/Makefile | |||
@@ -2,5 +2,19 @@ | |||
2 | # Makefile for Xen components | 2 | # Makefile for Xen components |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := hypercall.o xensetup.o xen_pv_ops.o \ | 5 | obj-y := hypercall.o xenivt.o xensetup.o xen_pv_ops.o \ |
6 | hypervisor.o xencomm.o xcom_hcall.o grant-table.o | 6 | hypervisor.o xencomm.o xcom_hcall.o grant-table.o |
7 | |||
8 | AFLAGS_xenivt.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN | ||
9 | |||
10 | # xen multi compile | ||
11 | ASM_PARAVIRT_MULTI_COMPILE_SRCS = ivt.S | ||
12 | ASM_PARAVIRT_OBJS = $(addprefix xen-,$(ASM_PARAVIRT_MULTI_COMPILE_SRCS:.S=.o)) | ||
13 | obj-y += $(ASM_PARAVIRT_OBJS) | ||
14 | define paravirtualized_xen | ||
15 | AFLAGS_$(1) += -D__IA64_ASM_PARAVIRTUALIZED_XEN | ||
16 | endef | ||
17 | $(foreach o,$(ASM_PARAVIRT_OBJS),$(eval $(call paravirtualized_xen,$(o)))) | ||
18 | |||
19 | $(obj)/xen-%.o: $(src)/../kernel/%.S FORCE | ||
20 | $(call if_changed_dep,as_o_S) | ||