1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

build mimo version of the broadcom wl driver as well

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-06-19 21:11:35 +00:00
parent 7c82cc0f83
commit 8ae87f1f26
2 changed files with 36 additions and 14 deletions

View File

@@ -13,20 +13,20 @@
EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER
O_TARGET := wl_link.o
O_TARGET := wl_link$(MOD_NAME).o
obj-y := wl_mod.o
obj-y := wl_mod$(MOD_NAME).o
obj-y += bcmutils.o hnddma.o linux_osl.o
obj-m := $(O_TARGET)
wl_mod.o: wl_apsta.o
wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o
sed -e 's,eth%d,wl%d\x00,g' < $< > $@
wl.o: wl_link.o
wl$(MOD_NAME).o: wl_link$(MOD_NAME).o
$(OBJDUMP) -d $< | perl patchtable.pl > patchtable.bin
cat wl_link.o patchtable.bin > $@
cat wl_link$(MOD_NAME).o patchtable.bin > $@
modules: wl.o
modules: wl$(MOD_NAME).o
include $(TOPDIR)/Rules.make