[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ia64 pv-on-hvm: __XEN_INTERFACE_VERSION__ is needed to assemble
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1210583641 -3600 # Node ID 9be45076186d191c3c0e622bab42d6c87ffe0cac # Parent 2383e35a1cb8f96752a1530d5305af0392b6c7c2 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@xxxxxxxxxxxxxx> --- unmodified_drivers/linux-2.6/overrides.mk | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff -r 2383e35a1cb8 -r 9be45076186d unmodified_drivers/linux-2.6/overrides.mk --- a/unmodified_drivers/linux-2.6/overrides.mk Mon May 12 10:13:15 2008 +0100 +++ b/unmodified_drivers/linux-2.6/overrides.mk Mon May 12 10:14:01 2008 +0100 @@ -4,12 +4,14 @@ # # (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 +_XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205 +_XEN_CPPFLAGS += -DCONFIG_XEN_COMPAT=0xffffff +_XEN_CPPFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H ifeq ($(ARCH),ia64) - EXTRA_CFLAGS += -DCONFIG_VMX_GUEST + _XEN_CPPFLAGS += -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 +_XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h + +EXTRA_CFLAGS += $(_XEN_CPPFLAGS) +EXTRA_AFLAGS += $(_XEN_CPPFLAGS) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |