rename broadcom-wl to broadcom-wl-old
[openwrt/svn-archive/archive.git] / package / broadcom-wl-old / src / driver / Makefile
1 #
2 # Makefile for the Broadcom wl 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
13 EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER=1 -DBCMDMA64=1
14
15 O_TARGET := wl$(MOD_NAME).o
16
17 obj-y := wl_mod$(MOD_NAME).o
18 obj-y += bcmutils.o hnddma.o linux_osl.o
19
20 obj-m := $(O_TARGET)
21
22 wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o
23 perl -ne 's,eth%d,wl%d\x00,g,print' < $< > $@
24
25 modules: wl$(MOD_NAME).o
26
27 include $(TOPDIR)/Rules.make