Left over version of this file that is not required for current Xen builds.
[linux-2.6.git] / drivers / net / bcm5700 / Makefile
1 ################################################################################
2 #
3 # Makefile for building Linux Broadcom Gigabit ethernet driver as a module.
4 #
5 ################################################################################
6
7 obj-$(CONFIG_BCM5700) = bcm5700.o
8
9 bcm5700-objs    := b57um.o b57proc.o tigon3.o autoneg.o 5701rls.o tcp_seg.o b57diag.o
10
11 EXTRA_CFLAGS = -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256 -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT -DINCLUDE_5701_AX_FIX=1 $(NETDUMP_CFLAG)
12 ifeq ($(ARCH),x86_64)
13   CFLAGS+=-mno-red-zone -mcmodel=kernel -pipe -finline-limit=2000
14 endif
15
16 ifeq ($(ARCH),ia64)
17   CFLAGS+=-pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32
18 endif
19
20 ifeq ($(ARCH),ppc64)
21   CFLAGS+=-m64 
22   CFLAGS+=-fno-strict-aliasing -fno-common -fomit-frame-pointer -msoft-float -pipe -mminimal-toc -fno-builtin 
23 endif
24
25 ifdef DBG
26   CFLAGS += -DTIGON3_DEBUG=2
27 endif
28
29 ifdef SMALL
30   CFLAGS += -Os -DBCM_SMALL_DRV=1
31 else
32   CFLAGS += -O2
33 endif