source: branches/buildroot-ng/openwrt/package/broadcom-wl/src/kmod/Makefile @ 4247

Last change on this file since 4247 was 4247, checked in by nbd, 10 years ago

fix broadcom-wl patchtable

File size: 883 bytes
Line 
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# $Id: Makefile,v 1.2 2005/03/29 03:32:18 mbm Exp $
13
14EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER
15
16O_TARGET        := wl$(MOD_NAME).o
17
18obj-y           := wl_mod$(MOD_NAME).o
19obj-y           += bcmutils.o hnddma.o linux_osl.o
20
21obj-m           := $(O_TARGET)
22
23wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o
24        sed -e 's,eth%d,wl%d\x00,g' < $< > $@
25
26wl$(MOD_NAME).o.patch: wl$(MOD_NAME).o
27        $(OBJDUMP) -d $< | perl patchtable.pl > $@
28
29modules: wl$(MOD_NAME).o.patch
30
31include $(TOPDIR)/Rules.make
Note: See TracBrowser for help on using the repository browser.