diff options
Diffstat (limited to 'arch/ia64/xen/Makefile')
-rw-r--r-- | arch/ia64/xen/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/ia64/xen/Makefile b/arch/ia64/xen/Makefile new file mode 100644 index 000000000000..0ad0224693d9 --- /dev/null +++ b/arch/ia64/xen/Makefile | |||
@@ -0,0 +1,22 @@ | |||
1 | # | ||
2 | # Makefile for Xen components | ||
3 | # | ||
4 | |||
5 | obj-y := hypercall.o xenivt.o xensetup.o xen_pv_ops.o irq_xen.o \ | ||
6 | hypervisor.o xencomm.o xcom_hcall.o grant-table.o time.o suspend.o | ||
7 | |||
8 | obj-$(CONFIG_IA64_GENERIC) += machvec.o | ||
9 | |||
10 | AFLAGS_xenivt.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN | ||
11 | |||
12 | # xen multi compile | ||
13 | ASM_PARAVIRT_MULTI_COMPILE_SRCS = ivt.S entry.S | ||
14 | ASM_PARAVIRT_OBJS = $(addprefix xen-,$(ASM_PARAVIRT_MULTI_COMPILE_SRCS:.S=.o)) | ||
15 | obj-y += $(ASM_PARAVIRT_OBJS) | ||
16 | define paravirtualized_xen | ||
17 | AFLAGS_$(1) += -D__IA64_ASM_PARAVIRTUALIZED_XEN | ||
18 | endef | ||
19 | $(foreach o,$(ASM_PARAVIRT_OBJS),$(eval $(call paravirtualized_xen,$(o)))) | ||
20 | |||
21 | $(obj)/xen-%.o: $(src)/../kernel/%.S FORCE | ||
22 | $(call if_changed_dep,as_o_S) | ||