WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH 8/8] ia64/pv_ops/xen: multi compiling switch_lea

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

diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index 9281bf6..05ea5f8 100644
--- a/arch/ia64/kernel/Makefile
+++ b/arch/ia64/kernel/Makefile
@@ -76,3 +76,27 @@ $(obj)/gate-data.o: $(obj)/gate.so
 #
 AFLAGS_ivt.o += -D__IA64_ASM_PARAVIRTUALIZED_NATIVE
 AFLAGS_switch_leave.o += -D__IA64_ASM_PARAVIRTUALIZED_NATIVE
+
+#
+# xenivt.o
+#
+obj-$(CONFIG_XEN) += xen_ivt.o
+ifeq ($(CONFIG_XEN), y)
+targets += xen_ivt.o
+$(obj)/build-in.o: xen_ivt.o
+endif
+AFLAGS_xen_ivt.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN
+$(obj)/xen_ivt.o: $(src)/ivt.S FORCE
+       $(call if_changed_dep,as_o_S)
+
+#
+# xen_switch_leave.o
+#
+obj-$(CONFIG_XEN) += xen_switch_leave.o
+ifeq ($(CONFIG_XEN), y)
+targets += xen_switch_leave.o
+$(obj)/build-in.o: xen_switch_leave.o
+endif
+AFLAGS_xen_switch_leave.o += -D__IA64_ASM_PARAVIRTUALIZED_XEN
+$(obj)/xen_switch_leave.o: $(src)/switch_leave.S FORCE
+       $(call if_changed_dep,as_o_S)
-- 
1.5.3


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel