X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/97212085d92332626ba710eba31a171bc0d38a37..734d742edaaca656c5962f44e8a31cb62092b2da:/package/broadcom-wl/src/kmod/Makefile diff --git a/package/broadcom-wl/src/kmod/Makefile b/package/broadcom-wl/src/kmod/Makefile index ec33d8b67..0a16bdcec 100644 --- a/package/broadcom-wl/src/kmod/Makefile +++ b/package/broadcom-wl/src/kmod/Makefile @@ -11,7 +11,7 @@ # # $Id: Makefile,v 1.2 2005/03/29 03:32:18 mbm Exp $ -EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER +EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER=1 -DBCMDMA64=1 O_TARGET := wl$(MOD_NAME).o @@ -21,7 +21,7 @@ obj-y += bcmutils.o hnddma.o linux_osl.o obj-m := $(O_TARGET) wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o - sed -e 's,eth%d,wl%d\x00,g' < $< > $@ + perl -ne 's,eth%d,wl%d\x00,g,print' < $< > $@ wl$(MOD_NAME).o.patch: wl$(MOD_NAME).o $(OBJDUMP) -d $< | perl patchtable.pl > $@