aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/overrides.mk
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 16:08:01 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 16:08:01 +0100
commit98abf9b1f795271a8bafb74b97e856aafb185eb9 (patch)
treefa0e9804a1a955f16e9a107d06fd7d3ea2563b3f /unmodified_drivers/linux-2.6/overrides.mk
parenteb97b7dc2b268b799596764eb7ed8c41708223e1 (diff)
downloadxen-98abf9b1f795271a8bafb74b97e856aafb185eb9.tar.gz
xen-98abf9b1f795271a8bafb74b97e856aafb185eb9.tar.bz2
xen-98abf9b1f795271a8bafb74b97e856aafb185eb9.zip
[HVM] Linux driver for the xen platform pseudo-PCI device.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/overrides.mk')
-rw-r--r--unmodified_drivers/linux-2.6/overrides.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk
new file mode 100644
index 0000000000..74ef12c4c9
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/overrides.mk
@@ -0,0 +1,12 @@
+# Hack: we need to use the config which was used to build the kernel,
+# except that that won't have the right headers etc., so duplicate
+# some of the mach-xen infrastructure in here.
+#
+# (i.e. we need the native config for things like -mregparm, but
+# a Xen kernel to find the right headers)
+EXTRA_CFLAGS += -DCONFIG_VMX -DCONFIG_VMX_GUEST -DCONFIG_X86_XEN
+EXTRA_CFLAGS += -DCONFIG_XEN_SHADOW_MODE -DCONFIG_XEN_SHADOW_TRANSLATE
+EXTRA_CFLAGS += -DCONFIG_XEN_BLKDEV_GRANT -DXEN_EVTCHN_MASK_OPS
+EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRANT_RX -DCONFIG_XEN_NETDEV_GRANT_TX
+EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030202
+EXTRA_CFLAGS += -I$(M)/include