1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:44:03 +02:00

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:
nbd 2006-10-10 23:04:23 +00:00
parent eb1c48aeec
commit 73fe55c15a

View File

@ -21,7 +21,7 @@ obj-y += bcmutils.o hnddma.o linux_osl.o
obj-m := $(O_TARGET) obj-m := $(O_TARGET)
wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o 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 wl$(MOD_NAME).o.patch: wl$(MOD_NAME).o
$(OBJDUMP) -d $< | perl patchtable.pl > $@ $(OBJDUMP) -d $< | perl patchtable.pl > $@