ia64/xen-unstable

view xen/arch/ia64/Rules.mk @ 16171:e7d7a4adf357

[IA64] vti domain save/restore: implement hvm_save/load. work in progress.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Sun Oct 21 14:39:07 2007 -0600 (2007-10-21)
parents 42586a0f4407
children ba569af64b44
line source
1 ########################################
2 # ia64-specific definitions
4 ia64 := y
5 HAS_ACPI := y
6 HAS_VGA := y
7 xenoprof := y
8 no_warns ?= n
9 xen_ia64_expose_p2m ?= y
10 xen_ia64_pervcpu_vhpt ?= y
11 xen_ia64_tlb_track ?= y
12 xen_ia64_tlb_track_cnt ?= n
13 xen_ia64_tlbflush_clock ?= y
15 ifneq ($(COMPILE_ARCH),$(TARGET_ARCH))
16 CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-
17 endif
19 # Used only by linux/Makefile.
20 AFLAGS_KERNEL += -mconstant-gp -nostdinc $(CPPFLAGS)
22 CFLAGS += -nostdinc -fno-builtin -fno-common
23 CFLAGS += -mconstant-gp
24 #CFLAGS += -O3 # -O3 over-inlines making debugging tough!
25 CFLAGS += -O2 # but no optimization causes compile errors!
26 CFLAGS += -fomit-frame-pointer -D__KERNEL__
27 CFLAGS += -iwithprefix include
28 CPPFLAGS+= -I$(BASEDIR)/include \
29 -I$(BASEDIR)/include/asm-ia64 \
30 -I$(BASEDIR)/include/asm-ia64/linux \
31 -I$(BASEDIR)/include/asm-ia64/linux-xen \
32 -I$(BASEDIR)/include/asm-ia64/linux-null \
33 -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
34 CFLAGS += $(CPPFLAGS)
35 #CFLAGS += -Wno-pointer-arith -Wredundant-decls
36 CFLAGS += -DIA64 -DXEN -DLINUX_2_6
37 CFLAGS += -ffixed-r13 -mfixed-range=f2-f5,f12-f127,b2-b5
38 CFLAGS += -g
39 #CFLAGS += -DVTI_DEBUG
40 ifeq ($(xen_ia64_expose_p2m),y)
41 CFLAGS += -DCONFIG_XEN_IA64_EXPOSE_P2M
42 endif
43 ifeq ($(xen_ia64_pervcpu_vhpt),y)
44 CFLAGS += -DCONFIG_XEN_IA64_PERVCPU_VHPT
45 endif
46 ifeq ($(xen_ia64_tlb_track),y)
47 CFLAGS += -DCONFIG_XEN_IA64_TLB_TRACK
48 endif
49 ifeq ($(xen_ia64_tlb_track_cnt),y)
50 CFLAGS += -DCONFIG_TLB_TRACK_CNT
51 endif
52 ifeq ($(xen_ia64_tlbflush_clock),y)
53 CFLAGS += -DCONFIG_XEN_IA64_TLBFLUSH_CLOCK
54 endif
55 ifeq ($(no_warns),y)
56 CFLAGS += -Wa,--fatal-warnings -Werror -Wno-uninitialized
57 endif
59 LDFLAGS := -g
61 # Additionnal IA64 include dirs.
62 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/asm/*.h)
63 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/asm/sn/*.h)
64 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/linux/*.h)
65 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/asm/*.h)
66 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/asm/sn/*.h)
67 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/linux/*.h)
68 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/*.h)
69 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm-generic/*.h)
70 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm/*.h)
71 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/byteorder/*.h)
72 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/hvm/*.h)
74 HDRS := $(filter-out %/include/asm-ia64/asm-xsi-offsets.h,$(HDRS))