From: Felix Fietkau Date: Tue, 10 Oct 2006 23:04:23 +0000 (+0000) Subject: use perl instead of sed for replacing stuff in wl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4231c55be1f06c0e7d9b2999364c970582c0701d;p=openwrt%2Fstaging%2F981213.git use perl instead of sed for replacing stuff in wl SVN-Revision: 5047 --- diff --git a/openwrt/package/broadcom-wl/src/kmod/Makefile b/openwrt/package/broadcom-wl/src/kmod/Makefile index ec33d8b673..450700f5ce 100644 --- a/openwrt/package/broadcom-wl/src/kmod/Makefile +++ b/openwrt/package/broadcom-wl/src/kmod/Makefile @@ -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 > $@