coreboot-kgpe-d16/util/kconfig
Patrick Georgi 615cdfcdb9 util/kconfig: Add pre-built parser
It avoids the dependency on bison/flex, minimally speeds up the build
and also works around weird race conditions in some versions of bison
that need more investigation.

The issue this avoids manifests as a build error when creating
parser.tab.c:

    input in flex scanner failed
    make: *** [util/kconfig/Makefile.inc:66: build/util/kconfig/parser.tab.c] Error 2

Since the error happens within bison the alternative would be to make
bison part of our crossgcc environment to ensure that no broken OS
build is used.

BUG=b:197515860
TEST=things build with bison not installed

Change-Id: Ib35dfb7beafc0a09dc333e962b1e3f33df46a854
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57409
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2021-09-13 15:35:03 +00:00
..
lxdialog util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
patches util/kconfig: detect ncurses on FreeBSD 2021-08-06 15:35:39 +00:00
.gitignore util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
Makefile util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
Makefile.inc util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
conf.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
confdata.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
description.md
expr.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
expr.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
gconf-cfg.sh util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
gconf.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
gconf.glade
images.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
images.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
internal.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
lexer.l util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
lexer.lex.c_shipped util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
list.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
lkc.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
lkc_proto.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
mconf-cfg.sh util/kconfig: detect ncurses on FreeBSD 2021-08-06 15:35:39 +00:00
mconf.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
menu.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
merge_config.sh util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
nconf-cfg.sh util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
nconf.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
nconf.gui.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
nconf.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
parser.tab.c_shipped util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
parser.tab.h_shipped util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
parser.y util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
preprocess.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
qconf-cfg.sh util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
qconf.cc util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
qconf.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
regex.c util/kconfig: Silence warning about _GNU_SOURCE 2020-03-08 14:24:03 +00:00
regex.h
streamline_config.pl util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
symbol.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
toada.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
util.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00