convert arptables to new packaging style
[openwrt.git] / openwrt / package / linux / kernel-source / drivers / net / et / Makefile
1 #
2 # Makefile for the Broadcom et driver
3 #
4 # Copyright 2004, Broadcom Corporation
5 # All Rights Reserved.
6 #
7 # THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 # KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 # SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 # FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 #
12 # $Id$
13 #
14
15 O_TARGET := et.o
16
17 ET_OBJS := et_linux.o etc.o
18
19 ifeq ($(CONFIG_ET_47XX),y)
20 ET_OBJS += etc47xx.o etc_robo.o etc_adm.o
21 EXTRA_CFLAGS += -DBCM47XX_CHOPS
22 endif
23 ifeq ($(CONFIG_ET_4413),y)
24 ET_OBJS += etc4413.o
25 EXTRA_CFLAGS += -DBCM4413_CHOPS
26 endif
27
28 export-objs :=
29 obj-y := $(ET_OBJS)
30 obj-m := $(O_TARGET)
31
32 EXTRA_CFLAGS += -DDMA
33
34 include $(TOPDIR)/Rules.make
This page took 0.044327 seconds and 5 git commands to generate.