gma config: Tag constants depending on generation or CPU

Tag all derived config booleans that depend on the generation <genbool>
and those that may depend on the CPU with the generations where that is
the case. For instance `CPU_Ivybridge` can be decided purely based on
the generation unless the generation is Ironlake, thus, it is tagged
<ilkbool>. For non-boolean constants, per generation tags <...var> are
introduced (e.g. <ilkvar>) with similar meaning. This will allow us to
make them variables later, based on the generation.

To ease later parsing, also move all multiline expressions after a
line break.

Change-Id: Iaa50987c51dc62ab2eb8b31e8f223b8a94e8ac12
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27067
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/Makefile.inc b/common/Makefile.inc
index 410eeba..11ca2c3 100644
--- a/common/Makefile.inc
+++ b/common/Makefile.inc
@@ -61,6 +61,8 @@
 	    -e's/<<INTERNAL_PORT>>/$(CONFIG_GFX_GMA_INTERNAL_PORT)/' \
 	    -e's/<<ANALOG_I2C_PORT>>/$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)/' \
 	    -e's/<<DEFAULT_MMIO_BASE>>/$(CONFIG_GFX_GMA_DEFAULT_MMIO)/' \
+	    -e's/<\(gen\|\(ilk\|hsw\|skl\)\(...\)\?\)bool>/constant Boolean/' \
+	    -e's/<\(\(ilk\|hsw\|skl\)\(...\)\?\)var>/constant/' \
 	    $< >$@
 gfxinit-gen-y += $(hw-gfx-gma-config-ads)