ia64/xen-unstable

view xen/arch/ia64/Rules.mk @ 10888:5379548bfc79

[NET] Enable TCPv4 segmentation offload in front/back drivers.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Aug 01 11:54:45 2006 +0100 (2006-08-01)
parents 85958f34f183
children c3e20511c745
line source
1 ########################################
2 # ia64-specific definitions
4 HAS_ACPI := y
5 VALIDATE_VT ?= n
6 xen_ia64_dom0_virtual_physical ?= y
7 no_warns ?= n
9 ifneq ($(COMPILE_ARCH),$(TARGET_ARCH))
10 CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-
11 endif
13 # Used only by linux/Makefile.
14 AFLAGS_KERNEL += -mconstant-gp -nostdinc $(CPPFLAGS)
16 # Note: .S -> .o rule uses AFLAGS and CFLAGS.
18 CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
19 CFLAGS += -mconstant-gp
20 #CFLAGS += -O3 # -O3 over-inlines making debugging tough!
21 CFLAGS += -O2 # but no optimization causes compile errors!
22 CFLAGS += -fomit-frame-pointer -D__KERNEL__
23 CFLAGS += -iwithprefix include
24 CPPFLAGS+= -I$(BASEDIR)/include \
25 -I$(BASEDIR)/include/asm-ia64 \
26 -I$(BASEDIR)/include/asm-ia64/linux \
27 -I$(BASEDIR)/include/asm-ia64/linux-xen \
28 -I$(BASEDIR)/include/asm-ia64/linux-null \
29 -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
30 CFLAGS += $(CPPFLAGS)
31 #CFLAGS += -Wno-pointer-arith -Wredundant-decls
32 CFLAGS += -DIA64 -DXEN -DLINUX_2_6 -DV_IOSAPIC_READY
33 CFLAGS += -ffixed-r13 -mfixed-range=f2-f5,f12-f127
34 CFLAGS += -g
35 #CFLAGS += -DVTI_DEBUG
36 ifeq ($(VALIDATE_VT),y)
37 CFLAGS += -DVALIDATE_VT
38 endif
39 ifeq ($(xen_ia64_dom0_virtual_physical),y)
40 CFLAGS += -DCONFIG_XEN_IA64_DOM0_VP
41 endif
42 ifeq ($(no_warns),y)
43 CFLAGS += -Wa,--fatal-warnings -Werror -Wno-uninitialized
44 endif
46 LDFLAGS := -g
48 # Additionnal IA64 include dirs.
49 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/asm/*.h)
50 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/asm/sn/*.h)
51 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-null/linux/*.h)
52 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/asm/*.h)
53 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/asm/sn/*.h)
54 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux-xen/linux/*.h)
55 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/*.h)
56 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm-generic/*.h)
57 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm/*.h)
58 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/byteorder/*.h)
59 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/hvm/*.h)