[POWERPC] Fix sed command lines for zlib source construction

Not every sed understands \+ so use the more portable * instead.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by Segher Boessenkool and committed by Paul Mackerras 67ccd2fc 8995ac87

+3 -3
+3 -3
arch/powerpc/boot/Makefile
··· 54 54 obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat)))) 55 55 56 56 quiet_cmd_copy_zlib = COPY $@ 57 - cmd_copy_zlib = sed "s@__attribute_used__@@;s@<linux/\([^>]\+\).*@\"\1\"@" $< > $@ 57 + cmd_copy_zlib = sed "s@__attribute_used__@@;s@<linux/\([^>]*\).*@\"\1\"@" $< > $@ 58 58 59 59 quiet_cmd_copy_zlibheader = COPY $@ 60 - cmd_copy_zlibheader = sed "s@<linux/\([^>]\+\).*@\"\1\"@" $< > $@ 60 + cmd_copy_zlibheader = sed "s@<linux/\([^>]*\).*@\"\1\"@" $< > $@ 61 61 # stddef.h for NULL 62 62 quiet_cmd_copy_zliblinuxheader = COPY $@ 63 - cmd_copy_zliblinuxheader = sed "s@<linux/string.h>@\"string.h\"@;s@<linux/kernel.h>@<stddef.h>@;s@<linux/\([^>]\+\).*@\"\1\"@" $< > $@ 63 + cmd_copy_zliblinuxheader = sed "s@<linux/string.h>@\"string.h\"@;s@<linux/kernel.h>@<stddef.h>@;s@<linux/\([^>]*\).*@\"\1\"@" $< > $@ 64 64 65 65 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/% 66 66 $(call cmd,copy_zlib)