aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux-2.6-xen-sparse/lib/Makefile')
-rw-r--r--linux-2.6-xen-sparse/lib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/lib/Makefile b/linux-2.6-xen-sparse/lib/Makefile
index c779b94e7a..a072306622 100644
--- a/linux-2.6-xen-sparse/lib/Makefile
+++ b/linux-2.6-xen-sparse/lib/Makefile
@@ -52,7 +52,12 @@ obj-$(CONFIG_SMP) += percpu_counter.o
obj-$(CONFIG_AUDIT_GENERIC) += audit.o
obj-$(CONFIG_SWIOTLB) += swiotlb.o
+ifeq ($(CONFIG_X86),y)
swiotlb-$(CONFIG_XEN) := ../arch/i386/kernel/swiotlb.o
+endif
+ifeq ($(CONFIG_IA64),y)
+swiotlb-$(CONFIG_XEN) := ../arch/ia64/xen/swiotlb.o
+endif
hostprogs-y := gen_crc32table
clean-files := crc32table.h