use perl instead of sed for replacing stuff in wl
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 Oct 2006 23:04:23 +0000 (23:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Oct 2006 23:04:23 +0000 (23:04 +0000)
SVN-Revision: 5047

openwrt/package/broadcom-wl/src/kmod/Makefile

index ec33d8b..450700f 100644 (file)
@@ -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 > $@