[PATCH 37/50] ia64/pv_ops/xen: multi compile switch_leave.S and ivt.S for xen.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/kernel/Makefile |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index 7849bc3..a80dd3f 100644
--- a/arch/ia64/kernel/Makefile
+++ b/arch/ia64/kernel/Makefile
@@ -83,3 +83,18 @@ $(obj)/gate-data.o: $(obj)/gate.so
 #
 AFLAGS_ivt.o += -D__IA64_ASM_PARAVIRTUALIZED_NATIVE
 AFLAGS_switch_leave.o += -D__IA64_ASM_PARAVIRTUALIZED_NATIVE
+
+# xen multi compile
+$(obj)/xen_%.o: $(src)/%.S FORCE
+	$(call if_changed_dep,as_o_S)
+
+#
+# xenivt.o, xen_switch_leave.o
+#
+obj-$(CONFIG_XEN) += xen_ivt.o xen_switch_leave.o
+ifeq ($(CONFIG_XEN), y)
+targets += xen_ivt.o xen_switch_leave.o
+$(obj)/build-in.o: xen_ivt.o xen_switch_leave.o
+endif
+AFLAGS_xen_ivt.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN
+AFLAGS_xen_switch_leave.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN
-- 
1.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux