mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
support PV-on-HVM drivers for older kernel releases. The compatability code is included in the xen-platform-pci module since this module underpins all the others. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
13 lines
704 B
Makefile
13 lines
704 B
Makefile
# 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 -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
|