aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/overrides.mk
blob: ea0738c1e24c2d8e517d006f2941edd8837c0a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 += -D__XEN_INTERFACE_VERSION__=0x00030205
EXTRA_CFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
ifeq ($(ARCH),ia64)
  EXTRA_CFLAGS += -DCONFIG_VMX_GUEST
endif

EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H