diff options
author | Hung-Te Lin <hungte@chromium.org> | 2023-06-15 15:26:40 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-09-28 21:28:37 +0000 |
commit | 8cb45aadf776b830ed9de28a1bfe864b470f04ae (patch) | |
tree | bac753d37289ac2241d4a61767a458042aa84fa1 /src/mainboard/asrock | |
parent | a421ae99fb377eb3334ec60823b5523bf0325c95 (diff) |
util/cbfstool: Revise lex/yacc (bison) generation
Revise the Makefile.inc rules for generating FMD parser files.
- lex: If --header-file is supported then the lex (usually flex) should
also support '-o' so we don't need to do redirection (-t).
- yacc: Bison is already required by bincfg and sconfig so we
can change the default parser compiler to Bison. That also
allows us to use -o and --defines to override the output files.
- both: Line directives are only helpful when debugging the scanner and
the parser, so we should remove them to get better git diff
results (-L for lex, -l for bison).
Also regenerated the shipped files with latest version of flex (2.6.4)
and bison (3.8.2).
Change-Id: I15b58ff65dcd9f3f3a6095aa004091ff733ffec3
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75851
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/asrock')
0 files changed, 0 insertions, 0 deletions