ia64/xen-unstable

view unmodified_drivers/linux-2.6/overrides.mk @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents 206e20b7b54e
children fcaf34bc5e41
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 += -DCONFIG_VMX -DCONFIG_VMX_GUEST -DCONFIG_X86_XEN
8 EXTRA_CFLAGS += -DCONFIG_XEN_SHADOW_MODE -DCONFIG_XEN_SHADOW_TRANSLATE
9 EXTRA_CFLAGS += -DCONFIG_XEN_BLKDEV_GRANT -DXEN_EVTCHN_MASK_OPS
10 EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRANT_RX -DCONFIG_XEN_NETDEV_GRANT_TX
11 EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030202
12 EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H