2006-06-19 22:59:53 +03:00
|
|
|
#
|
|
|
|
# Makefile for the Broadcom wl driver
|
|
|
|
#
|
|
|
|
# Copyright 2004, Broadcom Corporation
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
|
|
|
|
# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
|
|
|
|
# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
|
# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
|
|
|
|
#
|
|
|
|
|
2006-12-07 23:42:03 +02:00
|
|
|
EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER=1 -DBCMDMA64=1
|
2006-06-19 22:59:53 +03:00
|
|
|
|
2006-07-24 10:10:13 +03:00
|
|
|
O_TARGET := wl$(MOD_NAME).o
|
2006-06-19 22:59:53 +03:00
|
|
|
|
2006-06-20 00:11:35 +03:00
|
|
|
obj-y := wl_mod$(MOD_NAME).o
|
2006-06-19 22:59:53 +03:00
|
|
|
obj-y += bcmutils.o hnddma.o linux_osl.o
|
|
|
|
|
|
|
|
obj-m := $(O_TARGET)
|
|
|
|
|
2006-06-20 00:11:35 +03:00
|
|
|
wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o
|
2006-10-11 02:04:23 +03:00
|
|
|
perl -ne 's,eth%d,wl%d\x00,g,print' < $< > $@
|
2006-06-19 22:59:53 +03:00
|
|
|
|
2008-01-06 21:28:07 +02:00
|
|
|
modules: wl$(MOD_NAME).o
|
2006-06-19 22:59:53 +03:00
|
|
|
|
|
|
|
include $(TOPDIR)/Rules.make
|