ia64/xen-unstable

changeset 17629:9be45076186d

ia64 pv-on-hvm: __XEN_INTERFACE_VERSION__ is needed to assemble
platform-pci/xcom_asm.S, otherwise incompatible kernel module is
built.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon May 12 10:14:01 2008 +0100 (2008-05-12)
parents 2383e35a1cb8
children 945394931d9e
files unmodified_drivers/linux-2.6/overrides.mk
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/overrides.mk	Mon May 12 10:13:15 2008 +0100
     1.2 +++ b/unmodified_drivers/linux-2.6/overrides.mk	Mon May 12 10:14:01 2008 +0100
     1.3 @@ -4,12 +4,14 @@
     1.4  #
     1.5  # (i.e. we need the native config for things like -mregparm, but
     1.6  # a Xen kernel to find the right headers)
     1.7 -EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
     1.8 -EXTRA_CFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
     1.9 -EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
    1.10 +_XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
    1.11 +_XEN_CPPFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
    1.12 +_XEN_CPPFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
    1.13  ifeq ($(ARCH),ia64)
    1.14 -  EXTRA_CFLAGS += -DCONFIG_VMX_GUEST
    1.15 +  _XEN_CPPFLAGS += -DCONFIG_VMX_GUEST
    1.16  endif
    1.17  
    1.18 -EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
    1.19 -EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
    1.20 +_XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h
    1.21 +
    1.22 +EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
    1.23 +EXTRA_AFLAGS += $(_XEN_CPPFLAGS)