ia64/xen-unstable

view xen/arch/ia64/Rules.mk @ 6552:a9873d384da4

Merge.
author adsharma@los-vmm.sc.intel.com
date Thu Aug 25 12:24:48 2005 -0700 (2005-08-25)
parents 112d44270733 fa0754a9f64f
children dfaf788ab18c
line source
1 ########################################
2 # ia64-specific definitions
4 CONFIG_VTI ?= n
5 ifneq ($(COMPILE_ARCH),$(TARGET_ARCH))
6 CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-
7 endif
8 AFLAGS += -D__ASSEMBLY__
9 CPPFLAGS += -I$(BASEDIR)/include -I$(BASEDIR)/include/asm-ia64 \
10 -I$(BASEDIR)/include/asm-ia64/linux \
11 -I$(BASEDIR)/include/asm-ia64/linux-xen \
12 -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
14 CFLAGS := -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
15 #CFLAGS += -O3 # -O3 over-inlines making debugging tough!
16 CFLAGS += -O2 # but no optimization causes compile errors!
17 #CFLAGS += -iwithprefix include -Wall -DMONITOR_BASE=$(MONITOR_BASE)
18 CFLAGS += -iwithprefix include -Wall
19 CFLAGS += -fomit-frame-pointer -I$(BASEDIR)/include -D__KERNEL__
20 CFLAGS += -I$(BASEDIR)/include/asm-ia64 -I$(BASEDIR)/include/asm-ia64/linux \
21 -I$(BASEDIR)/include/asm-ia64/linux \
22 -I$(BASEDIR)/include/asm-ia64/linux-xen \
23 -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
24 CFLAGS += -Wno-pointer-arith -Wredundant-decls
25 CFLAGS += -DIA64 -DXEN -DLINUX_2_6
26 CFLAGS += -ffixed-r13 -mfixed-range=f12-f15,f32-f127
27 CFLAGS += -w -g
28 ifeq ($(CONFIG_VTI),y)
29 CFLAGS += -DCONFIG_VTI
30 endif
31 LDFLAGS := -g