mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
use perl instead of sed for replacing stuff in wl
SVN-Revision: 5047
This commit is contained in:
parent
f3d5452b98
commit
4231c55be1
@ -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 > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user