2008-10-16 19:17:52 -07:00
|
|
|
#
|
|
|
|
# Makefile for Xen components
|
|
|
|
#
|
|
|
|
|
2008-10-16 19:18:03 -07:00
|
|
|
obj-y := hypercall.o xenivt.o xensetup.o xen_pv_ops.o \
|
2008-10-16 19:17:59 -07:00
|
|
|
hypervisor.o xencomm.o xcom_hcall.o grant-table.o
|
2008-10-16 19:18:03 -07:00
|
|
|
|
|
|
|
AFLAGS_xenivt.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN
|
|
|
|
|
|
|
|
# xen multi compile
|
2008-10-16 19:18:04 -07:00
|
|
|
ASM_PARAVIRT_MULTI_COMPILE_SRCS = ivt.S entry.S
|
2008-10-16 19:18:03 -07:00
|
|
|
ASM_PARAVIRT_OBJS = $(addprefix xen-,$(ASM_PARAVIRT_MULTI_COMPILE_SRCS:.S=.o))
|
|
|
|
obj-y += $(ASM_PARAVIRT_OBJS)
|
|
|
|
define paravirtualized_xen
|
|
|
|
AFLAGS_$(1) += -D__IA64_ASM_PARAVIRTUALIZED_XEN
|
|
|
|
endef
|
|
|
|
$(foreach o,$(ASM_PARAVIRT_OBJS),$(eval $(call paravirtualized_xen,$(o))))
|
|
|
|
|
|
|
|
$(obj)/xen-%.o: $(src)/../kernel/%.S FORCE
|
|
|
|
$(call if_changed_dep,as_o_S)
|