mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
platform-pci/xcom_asm.S, otherwise incompatible kernel module is built. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
18 lines
672 B
Makefile
18 lines
672 B
Makefile
# 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)
|
|
_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)
|
|
_XEN_CPPFLAGS += -DCONFIG_VMX_GUEST
|
|
endif
|
|
|
|
_XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h
|
|
|
|
EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
|
|
EXTRA_AFLAGS += $(_XEN_CPPFLAGS)
|