use perl instead of sed for replacing stuff in wl

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5047 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau 2006-10-10 23:04:23 +00:00
parent 97eaa9e31e
commit 85a3411f2e

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