sed: Get rid of \+

This also turned out not to be part of POSIX Basic Regular Expressions.

Change-Id: I8d567a53046cd4a557c87b383c5884ebb8e9e774
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/55468
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Nico Huber 2021-06-13 21:05:47 +00:00
parent c47872c656
commit 1b04c517b3
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ $(hw-gfx-gma-config-ads): $(dir)/hw-gfx-gma-config.ads.template $(cnf)
$(foreach gen,$(_GEN_TLA_SUBSTITUTIONS), \ $(foreach gen,$(_GEN_TLA_SUBSTITUTIONS), \
-e's/<$(gen)\(...\)*var>/$(_GEN_CONST_TARGET)/') \ -e's/<$(gen)\(...\)*var>/$(_GEN_CONST_TARGET)/') \
-e's/\(.*: *<cpufunc>.*:=\) *\(.*\);/\1\n (\2);/' \ -e's/\(.*: *<cpufunc>.*:=\) *\(.*\);/\1\n (\2);/' \
-e's/\([^ ]\+\) *: *<cpufunc> \+\([^ ]*\) *:=/function \1 return \2 is/' \ -e's/\([^ ][^ ]*\) *: *<cpufunc> *\([^ ]*\) *:=/function \1 return \2 is/' \
-e's/<cpunull>//' \ -e's/<cpunull>//' \
$< >$@ $< >$@
else else