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>
diff --git a/common/Makefile.inc b/common/Makefile.inc
index b0b5a7b..7dda011 100644
--- a/common/Makefile.inc
+++ b/common/Makefile.inc
@@ -100,7 +100,7 @@
$(foreach gen,$(_GEN_TLA_SUBSTITUTIONS), \
-e's/<$(gen)\(...\)*var>/$(_GEN_CONST_TARGET)/') \
-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>//' \
$< >$@
else