coreboot-kgpe-d16/util/sconfig
Furquan Shaikh a0cc5a697c util/sconfig: Re-factor emitting of headers to static.c
This change removes call to add_header from parsing functions and
moves it to a local function within main.c. It also adds a new
function emit_headers that is responsible for creating the linked list
for chip headers and emitting those to static.c

BUG=b:80081934
TEST=Verified that static.c for all files compiled using abuild is the
same with and without this change.

Change-Id: I24d526e81323115d3cc927242a4b9e49414afbe0
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26726
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-06-05 20:57:26 +00:00
..
Makefile.inc util/blobtool & sconfig: Update GENPARSER Kconfig question 2017-04-14 17:26:48 +02:00
lex.yy.c_shipped devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
main.c util/sconfig: Re-factor emitting of headers to static.c 2018-06-05 20:57:26 +00:00
sconfig.h util/sconfig: Re-factor emitting of headers to static.c 2018-06-05 20:57:26 +00:00
sconfig.l devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
sconfig.tab.c_shipped util/sconfig: Re-factor emitting of headers to static.c 2018-06-05 20:57:26 +00:00
sconfig.tab.h_shipped util/sconfig: Re-factor sconfig to not assume chip as device 2018-06-05 20:57:16 +00:00
sconfig.y util/sconfig: Re-factor emitting of headers to static.c 2018-06-05 20:57:26 +00:00