sed: Drop unnecessary, optional match
The line matches no matter if there is a `_Var` suffix or not.
Change-Id: I06e7e1769888b82f2bfbb6897d189b497d833d70
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/55465
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/Makefile.inc b/common/Makefile.inc
index ed5f504..81ed47e 100644
--- a/common/Makefile.inc
+++ b/common/Makefile.inc
@@ -92,7 +92,7 @@
$(hw-gfx-gma-config-ads): $(dir)/hw-gfx-gma-config.ads.template $(cnf)
printf " GENERATE $(patsubst /%,%,$(subst $(obj)/,,$@))\n"
sed $(GFX_GMA_COMMON_SUBSTITUTIONS) \
- -e'/constant Gen_CPU\(_Var\)\?/d' \
+ -e'/constant Gen_CPU/d' \
-e's/<genbool>/constant Boolean/' \
-e's/<\($(_GEN_TLA_SUBSTITUTIONS)\(...\)\?\)bool>/<\1var> Boolean/' \
$(if $(_GEN_NONCONST),-e's/<\(...\)\?$(_GEN_NONCONST)\(...\)\?var>/<cpufunc>/') \