source: trunk/packages/xen-common/xen-common/unmodified_drivers/linux-2.6/overrides.mk @ 77

Last change on this file since 77 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 600 bytes
Line 
1# Hack: we need to use the config which was used to build the kernel,
2# except that that won't have the right headers etc., so duplicate
3# some of the mach-xen infrastructure in here.
4#
5# (i.e. we need the native config for things like -mregparm, but
6# a Xen kernel to find the right headers)
7EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
8EXTRA_CFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
9EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
10ifeq ($(ARCH),ia64)
11  EXTRA_CFLAGS += -DCONFIG_VMX_GUEST
12endif
13
14EXTRA_CFLAGS += -include $(srctree)/include/linux/autoconf.h
Note: See TracBrowser for help on using the repository browser.