ia64/xen-unstable

view unmodified_drivers/linux-2.6/overrides.mk @ 16981:700f33cc0297

[IA64] Add EXTRA_AFLAGS for platform-pci/xcom_asm.S

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Acked-by: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
author Alex Williamson <alex.williamson@hp.com>
date Tue Feb 05 09:30:25 2008 -0700 (2008-02-05)
parents 3d97c1c1f7c8
children 9be45076186d
line source
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)
7 EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
8 EXTRA_CFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
9 EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
10 ifeq ($(ARCH),ia64)
11 EXTRA_CFLAGS += -DCONFIG_VMX_GUEST
12 endif
14 EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
15 EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H