mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:24:06 +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:
parent
eb1c48aeec
commit
73fe55c15a
@ -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