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

fix broadcom-wl patchtable

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4247 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-07-24 07:10:13 +00:00
parent 27335d91b4
commit 97212085d9
3 changed files with 7 additions and 13 deletions

View File

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