use perl instead of sed for replacing stuff in wl

SVN-Revision: 5047
This commit is contained in:
Felix Fietkau 2006-10-10 23:04:23 +00:00
parent f3d5452b98
commit 4231c55be1

View 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 > $@